summaryrefslogtreecommitdiff
path: root/net/core/netclassid_cgroup.c
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-08-17 09:35:29 +0800
committerDavid S. Miller <davem@davemloft.net>2022-08-31 09:40:34 +0100
commit3177d7bbe0f256d6f6841c54fb65eaea2f3e26c1 (patch)
treef8a5aff5fbf07c46576e9370dddcbfb87f4868d7 /net/core/netclassid_cgroup.c
parent21cb860c7f314be471d2dbcbfb659af405750500 (diff)
core: Variable type completion
'unsigned int' is better than 'unsigned'. Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netclassid_cgroup.c')
-rw-r--r--net/core/netclassid_cgroup.c2
1 files changed, 1 insertions, 1 deletions
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);