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

ringtest: pass buf != NULL

just a stub pointer for now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

+1 -1
+1 -1
tools/virtio/ringtest/main.c
··· 115 115 do { 116 116 if (started < bufs && 117 117 started - completed < max_outstanding) { 118 - r = add_inbuf(0, NULL, "Hello, world!"); 118 + r = add_inbuf(0, "Buffer\n", "Hello, world!"); 119 119 if (__builtin_expect(r == 0, true)) { 120 120 ++started; 121 121 if (!--tokick) {