lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220727104027.32515-1-gaoxin@cdjrlc.com>
Date:   Wed, 27 Jul 2022 18:40:27 +0800
From:   Xin Gao <gaoxin@...rlc.com>
To:     mst@...hat.com, jasowang@...hat.com
Cc:     virtualization@...ts.linux-foundation.org,
        linux-kernel@...r.kernel.org, Xin Gao <gaoxin@...rlc.com>
Subject: [PATCH] tools: Fix code typo

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

Signed-off-by: Xin Gao <gaoxin@...rlc.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ