Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <soumya.negi97@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Soumya Negi and committed by
Shuah Khan
dbeb2327 ff682226

+2 -1
+2 -1
tools/testing/selftests/drivers/dma-buf/udmabuf.c
··· 32 32 33 33 devfd = open("/dev/udmabuf", O_RDWR); 34 34 if (devfd < 0) { 35 - printf("%s: [skip,no-udmabuf]\n", TEST_PREFIX); 35 + printf("%s: [skip,no-udmabuf: Unable to access DMA buffer device file]\n", 36 + TEST_PREFIX); 36 37 exit(77); 37 38 } 38 39