arch/x86/mm/kmemcheck/kmemcheck.c: use kstrtoint() instead of sscanf()
authorDavid Rientjes <rientjes@google.com>
Tue, 8 Apr 2014 23:04:13 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Apr 2014 23:48:52 +0000 (16:48 -0700)
commitd0057ca4c1fe73c05a9e077cc7691217370b3283
treecf9fb38209bd853a1c5093347bd93d2ed6b031e0
parente39435ce68bb4685288f78b1a7e24311f7ef939f
arch/x86/mm/kmemcheck/kmemcheck.c: use kstrtoint() instead of sscanf()

Kmemcheck should use the preferred interface for parsing command line
arguments, kstrto*(), rather than sscanf() itself.  Use it
appropriately.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Vegard Nossum <vegardno@ifi.uio.no>
Acked-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/kmemcheck/kmemcheck.c