diff options
author | Tom Rix <trix@redhat.com> | 2020-12-21 08:27:15 -0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-02-02 17:02:05 -0500 |
commit | bd0c9706430240e3b7e9323361bb25066540d2a8 (patch) | |
tree | 5d763c3c8fd71a9630b4e86df57653f432a36611 /kernel/trace/trace_functions.c | |
parent | c8b186a8d54d7e12d28e9f9686cb00ff18fc2ab2 (diff) |
tracing: Add printf attribute to log function
Attributing the function allows the compiler to more thoroughly
check the use of the function with -Wformat and similar flags.
Link: https://lkml.kernel.org/r/20201221162715.3757291-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions