]> git.karo-electronics.de Git - karo-tx-linux.git/commit
device_cgroup: stop using simple_strtoul()
authorAristeu Rozanski <aris@redhat.com>
Thu, 25 Oct 2012 01:13:53 +0000 (12:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Oct 2012 01:13:53 +0000 (12:13 +1100)
commit2a2500577fc95022b4a601e906fd1ad7c73a204b
tree0f7f1bc795d7530b7c851048c39e8cdeed3b9c20
parent69c839304a7fd37b4de8fef035cd87312451e979
device_cgroup: stop using simple_strtoul()

Convert the code to use kstrtou32() instead of simple_strtoul() which is
deprecated.  The real size of the variables are u32, so use kstrtou32
instead of kstrtoul

Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: James Morris <jmorris@namei.org>
Cc: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
security/device_cgroup.c