checkpatch: prefer kstrto<foo> to sscanf(buf, "%<lhuidx>", &bar);
authorJoe Perches <joe@perches.com>
Wed, 4 Jun 2014 23:12:08 +0000 (16:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:20 +0000 (16:54 -0700)
commitafc819ab0293be3bd5c16d9eba26f9d57f61c42a
tree795f6294efe6ca19c15c8a6832702e7bfaf8d967
parent60a55369aad3336e604218abf2057363f69c0722
checkpatch: prefer kstrto<foo> to sscanf(buf, "%<lhuidx>", &bar);

Use the kstrto<foo> functions in preference to sscanf.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl