diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-04-09 09:49:00 +0000 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2021-04-13 09:35:55 -0600 |
commit | d19dea75b9920cfd78df397e836d5b885b4fcc37 (patch) | |
tree | 8d55627ecc927116de476559ad293d9f3c021c16 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4fb13790417a7bf726f3867a5d2b9723efde488b (diff) |
coresight: core: Make symbol 'csdev_sink' static
The sparse tool complains as follows:
drivers/hwtracing/coresight/coresight-core.c:26:1: warning:
symbol '__pcpu_scope_csdev_sink' was not declared. Should it be static?
As csdev_sink is not used outside of coresight-core.c after the
introduction of coresight_[set|get]_percpu_sink() helpers, this
change marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210409094900.1902783-1-weiyongjun1@huawei.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions