diff options
author | Nicolas Iooss <[email protected]> | 2017-05-24 07:49:50 +0200 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2017-06-13 16:36:02 +0200 |
commit | f4e981cba2dec675d40ac4f270b7e8ac164c9004 (patch) | |
tree | a0132cc2af987efc099efefaa304178941ff154e /net/unix/af_unix.c | |
parent | 719f6a7040f1bdaf96fcc709d272548facb88e90 (diff) |
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/[email protected]
Cc: Steven Rostedt <[email protected]>
Cc: [email protected]
Signed-off-by: Nicolas Iooss <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions