diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2018-10-29 23:35:41 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-12-22 08:21:06 -0500 |
commit | cc9f59fb3bc455984404dbab8be16f156a47d023 (patch) | |
tree | 53cfaf53f783876ac9d8321db61233f0ec034706 /include/sound/da7219-aad.h | |
parent | 59dd974bc079079c23b5429cba841696fa7fae41 (diff) | |
download | blackbird-obmc-linux-cc9f59fb3bc455984404dbab8be16f156a47d023.tar.gz blackbird-obmc-linux-cc9f59fb3bc455984404dbab8be16f156a47d023.zip |
tracing: Avoid -Wformat-nonliteral warning
Building with -Wformat-nonliteral, gcc complains
kernel/trace/trace_output.c: In function ‘seq_print_sym’:
kernel/trace/trace_output.c:356:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
trace_seq_printf(s, fmt, name);
But seq_print_sym only has a single caller which passes "%s" as fmt, so
we might as well just use that directly. That also paves the way for
further cleanups that will actually make that format string go away
entirely.
Link: http://lkml.kernel.org/r/20181029223542.26175-3-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/sound/da7219-aad.h')
0 files changed, 0 insertions, 0 deletions