summaryrefslogtreecommitdiff
path: root/fs/eventpoll.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-11-13 03:10:15 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 07:09:25 +0400
commit823b794ce176bcf135a062075737be71a78629dd (patch)
tree27ee885ad9d07e3421f04e846a3507b74ffe1fa7 /fs/eventpoll.c
parent2b7ab45395dc4d91ef30985f76d90a8f28f58c27 (diff)
downloadlinux-823b794ce176bcf135a062075737be71a78629dd.tar.xz
checkpatch: add check for sscanf without return use
Naked use sscanf can be troublesome because the pointed to variables may not have been set. Add a warning when the sscanf return value is not used. For now, do not add __must_check to the sscanf prototype because that will cause a couple of hundred new warnings when compiling a kernel. 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>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions