From: Tejun Heo Date: Tue, 11 Aug 2015 17:35:42 +0000 (-0400) Subject: cgroup: make cftype->private a unsigned long X-Git-Tag: v4.3-rc1~21^2~45^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=731a981e1059dd68c97212ccc9c0e1f169c1a77b;p=karo-tx-linux.git cgroup: make cftype->private a unsigned long It's pretty unusual to have an int as a private data field and it makes it impossible to carray a pointer value through it. Let's make it an unsigned long. AFAICS, this shouldn't break anything. Signed-off-by: Tejun Heo Acked-by: Li Zefan Cc: Johannes Weiner --- diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 93755a629299..8f5770a7d85a 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h @@ -318,7 +318,7 @@ struct cftype { * end of cftype array. */ char name[MAX_CFTYPE_NAME]; - int private; + unsigned long private; /* * If not 0, file mode is set to this value, otherwise it will * be figured out automatically