Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1646494
| From | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] printk: add __printf attributes to internal functions |
| Date | 2017-05-22 04:50 +0200 |
| Message-ID | <tJLzX-80i-5@gated-at.bofh.it> (permalink) |
| References | <tJ8Ih-7FO-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On (05/20/17 11:18), 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 __printf attributes. > > Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> no objections from my side. Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> -ss
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/1] printk: add __printf attributes to internal functions Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2017-05-20 11:20 +0200
Re: [PATCH 1/1] printk: add __printf attributes to internal functions Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-05-22 04:50 +0200
Re: [PATCH 1/1] printk: add __printf attributes to internal functions Petr Mladek <pmladek@suse.com> - 2017-05-22 17:30 +0200
[PATCH v2 1/1] printk: add __printf attributes to internal functions Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2017-05-24 08:00 +0200
csiph-web