diff options
| author | Lucy Mielke <[email protected]> | 2023-10-06 22:30:51 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-18 14:34:18 -0700 |
| commit | f04eba134e598d4a5af2eeecff0562df5042cbfc (patch) | |
| tree | 6cbe5ac96667aebc3b8b2d94fd7e311835d90074 /tools/perf/scripts/python/flamegraph.py | |
| parent | 7a81751fcdeb833acc858e59082688e3020bfe12 (diff) | |
mm: add printf attribute to shrinker_debugfs_name_alloc
This fixes a compiler warning when compiling an allyesconfig with W=1:
mm/internal.h:1235:9: error: function might be a candidate for `gnu_printf'
format attribute [-Werror=suggest-attribute=format]
[[email protected]: fix shrinker_alloc() as welll per Qi Zheng]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/ZSBue-3kM6gI6jCr@mainframe
Fixes: c42d50aefd17 ("mm: shrinker: add infrastructure for dynamically allocating shrinker")
Signed-off-by: Lucy Mielke <[email protected]>
Cc: Qi Zheng <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions