projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c9403
)
ringtest: pass buf != NULL
author
Michael S. Tsirkin
<mst@redhat.com>
Sun, 22 May 2016 12:10:49 +0000
(15:10 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Sun, 22 May 2016 16:44:14 +0000
(19:44 +0300)
just a stub pointer for now.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/ringtest/main.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/virtio/ringtest/main.c
b/tools/virtio/ringtest/main.c
index 3a5ff438bd62f62296f6cbe5cf3a42e7f5bb1078..147abb452a6ccc098bf50338e0c353f4b8896f8a 100644
(file)
--- a/
tools/virtio/ringtest/main.c
+++ b/
tools/virtio/ringtest/main.c
@@
-115,7
+115,7
@@
static void run_guest(void)
do {
if (started < bufs &&
started - completed < max_outstanding) {
- r = add_inbuf(0,
NULL
, "Hello, world!");
+ r = add_inbuf(0,
"Buffer\n"
, "Hello, world!");
if (__builtin_expect(r == 0, true)) {
++started;
if (!--tokick) {