]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2666888d441fa24dfa8cc0f59230dc68d60033f
treecc2d05c52272cad4e45889a77e7fd4f86cc2f441
parentc19b7e13811e075232b8d98e02632d498a8629e6
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