diff options
| author | Nicolas Iooss <[email protected]> | 2016-12-12 16:40:39 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-12 18:55:06 -0800 |
| commit | c0b942a76361e08fc9fb17989e0f266e64ff0688 (patch) | |
| tree | a7109f64961ac9ef94817f705eefe3bab07f12ab /tools/perf/scripts/python/netdev-times.py | |
| parent | df5f0f0a028c9bf43949398a175dbaafaf513e14 (diff) | |
kthread: add __printf attributes
When commit fbae2d44aa1d ("kthread: add kthread_create_worker*()")
introduced some kthread_create_...() functions which were taking
printf-like parametter, it introduced __printf attributes to some
functions (e.g. kthread_create_worker()). Nevertheless some new
functions were forgotten (they have been detected thanks to
-Wmissing-format-attribute warning flag).
Add the missing __printf attributes to the newly-introduced functions in
order to detect formatting issues at build-time with -Wformat flag.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Nicolas Iooss <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions