summaryrefslogtreecommitdiff
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>2017-05-24 08:49:50 +0300
committerPetr Mladek <pmladek@suse.com>2017-06-13 17:36:02 +0300
commitf4e981cba2dec675d40ac4f270b7e8ac164c9004 (patch)
treea0132cc2af987efc099efefaa304178941ff154e /drivers/tty/serial
parent719f6a7040f1bdaf96fcc709d272548facb88e90 (diff)
downloadlinux-f4e981cba2dec675d40ac4f270b7e8ac164c9004.tar.xz
printk: add __printf attributes to internal functions
When compiling with -Wsuggest-attribute=format, gcc complains that some functions in kernel/printk/printk_safe.c transmit their argument to printf-like functions without having a printf attribute. Silence these warnings by adding relevant __printf attributes. Link: http://lkml.kernel.org/r/20170524054950.6722-1-nicolas.iooss_linux@m4x.org Cc: Steven Rostedt <rostedt@goodmis.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions