diff options
author | Wei Yongjun <[email protected]> | 2021-04-07 10:00:05 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-07 19:33:17 +0200 |
commit | d8844295184cbbba54f27d6c5c0b3475d2a96042 (patch) | |
tree | 132931e5d6321a6762fc5622247dac0e305b23ce /tools/perf/scripts/python/sctop.py | |
parent | ec58594972255165c03344d7e15fb1242f5d3c4e (diff) |
coresight: etm: perf: Make symbol 'format_attr_contextid' static
The sparse tool complains as follows:
drivers/hwtracing/coresight/coresight-etm-perf.c:61:25: warning:
symbol 'format_attr_contextid' was not declared. Should it be static?
This symbol is not used outside of coresight-etm-perf.c, so this
commit marks it static.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions