projects
/
cascardo
/
linux.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
|
history
diff --git
a/tools/virtio/ringtest/main.c
b/tools/virtio/ringtest/main.c
index
3a5ff43
..
147abb4
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) {
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) {
if (__builtin_expect(r == 0, true)) {
++started;
if (!--tokick) {