summaryrefslogtreecommitdiffstats
path: root/arch/tile/configs
diff options
context:
space:
mode:
authorNicolas Iooss2015-06-26 00:03:53 +0200
committerLinus Torvalds2015-06-26 02:00:43 +0200
commitb4176b7c135ed28e78752552358919e5b14ad2bf (patch)
tree09f9c9431b7fd0dee8fca86f75cb211132ae648c /arch/tile/configs
parentcoredump: use from_kuid/kgid when formatting corename (diff)
downloadkernel-qcow2-linux-b4176b7c135ed28e78752552358919e5b14ad2bf.tar.gz
kernel-qcow2-linux-b4176b7c135ed28e78752552358919e5b14ad2bf.tar.xz
kernel-qcow2-linux-b4176b7c135ed28e78752552358919e5b14ad2bf.zip
coredump: add __printf attribute to cn_*printf functions
This allows detecting improper format string at build time, like: fs/coredump.c:225:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] err = cn_printf(cn, "%ld", cprm->siginfo->si_signo); ^ As si_signo is always an int, the format should be %d here. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/tile/configs')
0 files changed, 0 insertions, 0 deletions