[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220817013529.10535-1-gaoxin@cdjrlc.com>
Date: Wed, 17 Aug 2022 09:35:29 +0800
From: Xin Gao <gaoxin@...rlc.com>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com
Cc: sdf@...gle.com, tj@...nel.org, daniel@...earbox.net,
ast@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Xin Gao <gaoxin@...rlc.com>
Subject: [PATCH] core: Variable type completion
'unsigned int' is better than 'unsigned'.
Signed-off-by: Xin Gao <gaoxin@...rlc.com>
---
net/core/netclassid_cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/netclassid_cgroup.c b/net/core/netclassid_cgroup.c
index 1a6a86693b74..d6a70aeaa503 100644
--- a/net/core/netclassid_cgroup.c
+++ b/net/core/netclassid_cgroup.c
@@ -66,7 +66,7 @@ struct update_classid_context {
#define UPDATE_CLASSID_BATCH 1000
-static int update_classid_sock(const void *v, struct file *file, unsigned n)
+static int update_classid_sock(const void *v, struct file *file, unsigned int n)
{
struct update_classid_context *ctx = (void *)v;
struct socket *sock = sock_from_file(file);
--
2.30.2
Powered by blists - more mailing lists