Commit dbeb2327 authored by Soumya Negi's avatar Soumya Negi Committed by Shuah Khan
Browse files

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: default avatarSoumya Negi <soumya.negi97@gmail.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent ff682226
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
	}