]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fd3dfa7ad0cc6e4804f3800059faa3355fce735
tree795f6294efe6ca19c15c8a6832702e7bfaf8d967
parent8b98f8cac3d78f6839e8c1034fedd54edfe7adc1
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