selftests/dma-buf: Minor improvements to udmabuf selftest
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | selftests/dma-buf: Convert off64_t to off_t for portabilitytools/ tools/ | +8 | 0 replies | |
| 2/2 | selftests/dma-buf: Skip some tests if not enough free huge pagestools/ | +36 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] selftests/dma-buf: Minor improvements to udmabuf selftest
Hi there,
two minor improvements to the udmabuf selftest:
- converting GNU-specific off64_t to 64-bit off_t for portability
- instead of uncoditional failing if not enough huge pages are available, check beforehand and skip the affected tests
Best,
Chris
Chris Gellermann (2):
selftests/dma-buf: Convert off64_t to off_t for portability selftests/dma-buf: Skip some tests if not enough free huge pages
.../selftests/drivers/dma-buf/Makefile | 1 + .../selftests/drivers/dma-buf/udmabuf.c | 50 ++++++++++++++++--- 2 files changed, 44 insertions(+), 7 deletions(-)
--
2.47.3