Re: [PATCH v2 1/1] printk: add __printf attributes to internal functions

2017-05-25 Thread Sergey Senozhatsky
On (05/25/17 13:29), Petr Mladek wrote: > On Wed 2017-05-24 07:49:50, Nicolas Iooss wrote: > > 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.

Re: [PATCH v2 1/1] printk: add __printf attributes to internal functions

2017-05-25 Thread Petr Mladek
On Wed 2017-05-24 07:49:50, Nicolas Iooss wrote: > 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 __p