From: Daniel Wagner Date: Thu, 25 Oct 2012 04:16:56 +0000 (+0000) Subject: cgroup: net_cls: Fix local variable type decleration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=920750ce38520da9d3e5e6f5bccb0a2b88da4d7d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git cgroup: net_cls: Fix local variable type decleration The classid type used throughout the kernel is u32. Signed-off-by: Daniel Wagner Cc: "David S. Miller" Cc: Li Zefan Cc: Tejun Heo Cc: Cc: Acked-by: Neil Horman Signed-off-by: David S. Miller --- diff --git a/include/net/cls_cgroup.h b/include/net/cls_cgroup.h index b6a6eeb3905f..0fee0617fb7d 100644 --- a/include/net/cls_cgroup.h +++ b/include/net/cls_cgroup.h @@ -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;