cgroup: net_cls: Fix local variable type decleration
authorDaniel Wagner <[email protected]>
Thu, 25 Oct 2012 04:16:56 +0000 (04:16 +0000)
committerDavid S. Miller <[email protected]>
Fri, 26 Oct 2012 07:40:50 +0000 (03:40 -0400)
The classid type used throughout the kernel is u32.

Signed-off-by: Daniel Wagner <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/cls_cgroup.h

index b6a6eeb3905f15d956fd1190cf6c415508cea0bf..0fee0617fb7d243728583ee351de284f36aca14a 100644 (file)
@@ -29,7 +29,7 @@ extern void sock_update_classid(struct sock *sk);
 #if IS_BUILTIN(CONFIG_NET_CLS_CGROUP)
 static inline u32 task_cls_classid(struct task_struct *p)
 {
-       int classid;
+       u32 classid;
 
        if (in_interrupt())
                return 0;