mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tools: Fix code typo
@ 2022-07-27 10:40 Xin Gao
  0 siblings, 0 replies; only message in thread
From: Xin Gao @ 2022-07-27 10:40 UTC (permalink / raw)
  To: mst, jasowang; +Cc: virtualization, linux-kernel, Xin Gao

It would be better to change'unsigned'to'unsigned int'.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 tools/virtio/ringtest/noring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virtio/ringtest/noring.c b/tools/virtio/ringtest/noring.c
index ce2440d5ca93..3deb8413c289 100644
--- a/tools/virtio/ringtest/noring.c
+++ b/tools/virtio/ringtest/noring.c
@@ -9,7 +9,7 @@ void alloc_ring(void)
 }
 
 /* guest side */
-int add_inbuf(unsigned len, void *buf, void *datap)
+int add_inbuf(unsigned int len, void *buf, void *datap)
 {
 	return 0;
 }
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-27 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 10:40 [PATCH] tools: Fix code typo Xin Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®