]> git.baikalelectronics.ru Git - kernel.git/commit
include/ and checkpatch: prefer __scanf to __attribute__((format(scanf,...)
authorJoe Perches <joe@perches.com>
Fri, 23 Mar 2012 22:02:16 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:36 +0000 (16:58 -0700)
commit91797841ab50ad8ffbf8c8a48ade93c200cab489
tree2e19eecd34a716fc5ed9fa3f18a7db0a3edf6f5b
parent0d502ebb118ffbaad584ba79aec5ac581cf87b37
include/ and checkpatch: prefer __scanf to __attribute__((format(scanf,...)

It's equivalent to __printf, so prefer __scanf.

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>
include/linux/compiler-gcc.h
include/linux/kernel.h
include/xen/xenbus.h
scripts/checkpatch.pl