]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - mm/memtest.c
memtest: use kstrtouint instead of simple_strtoul
authorVladimir Murzin <vladimir.murzin@arm.com>
Tue, 8 Sep 2015 22:00:16 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit06f805965fc205e27681eee99fd2376fafd8da65
treecc2d05c52272cad4e45889a77e7fd4f86cc2f441
parent83b4b0bb635eee2b8e075062e4e008d1bc110ed7
memtest: use kstrtouint instead of simple_strtoul

Since simple_strtoul is obsolete and memtest_pattern is type of int, use
kstrtouint instead.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Cc: Leon Romanovsky <leon@leon.nu>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memtest.c