aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumya Negi <[email protected]>2022-07-01 05:50:52 -0700
committerShuah Khan <[email protected]>2022-07-08 10:55:57 -0600
commitdbeb232726871352fc3e688ff5b02897f8cb0dc7 (patch)
tree2e1b6520421f49299da9acced84ea78de9d5687a
parentff682226a353d88ffa5db9c2a9b945066776311e (diff)
selftests: drivers/dma-buf: Improve message in selftest summary
Selftest udmabuf for the dma-buf driver is skipped when the device file (e.g. /dev/udmabuf) for the DMA buffer cannot be opened i.e. no DMA buffer has been allocated. This patch adds clarity to the SKIP message. Signed-off-by: Soumya Negi <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
-rw-r--r--tools/testing/selftests/drivers/dma-buf/udmabuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/dma-buf/udmabuf.c b/tools/testing/selftests/drivers/dma-buf/udmabuf.c
index de1c4e6de0b2..c812080e304e 100644
--- a/tools/testing/selftests/drivers/dma-buf/udmabuf.c
+++ b/tools/testing/selftests/drivers/dma-buf/udmabuf.c
@@ -32,7 +32,8 @@ int main(int argc, char *argv[])
devfd = open("/dev/udmabuf", O_RDWR);
if (devfd < 0) {
- printf("%s: [skip,no-udmabuf]\n", TEST_PREFIX);
+ printf("%s: [skip,no-udmabuf: Unable to access DMA buffer device file]\n",
+ TEST_PREFIX);
exit(77);
}