coresight: etm: perf: Make symbol 'format_attr_contextid' static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 7 Apr 2021 16:00:05 +0000 (10:00 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 17:33:17 +0000 (19:33 +0200)
commitd8844295184cbbba54f27d6c5c0b3475d2a96042
tree132931e5d6321a6762fc5622247dac0e305b23ce
parentec58594972255165c03344d7e15fb1242f5d3c4e
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/20210308123250.2417947-1-weiyongjun1@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20210407160007.418053-3-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm-perf.c