mirror of https://gitee.com/openkylin/linux.git
ringtest: pass buf != NULL
just a stub pointer for now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
87c9403b0d
commit
bb99128872
|
@ -115,7 +115,7 @@ static void run_guest(void)
|
||||||
do {
|
do {
|
||||||
if (started < bufs &&
|
if (started < bufs &&
|
||||||
started - completed < max_outstanding) {
|
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)) {
|
if (__builtin_expect(r == 0, true)) {
|
||||||
++started;
|
++started;
|
||||||
if (!--tokick) {
|
if (!--tokick) {
|
||||||
|
|
Loading…
Reference in New Issue