core: Variable type completion
authorXin Gao <gaoxin@cdjrlc.com>
Wed, 17 Aug 2022 01:35:29 +0000 (09:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Aug 2022 08:40:34 +0000 (09:40 +0100)
'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netclassid_cgroup.c

index 1a6a866..d6a70ae 100644 (file)
@@ -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);