summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-04-20 17:22:44 +0300
committerJiri Kosina <jkosina@suse.cz>2022-04-21 11:18:54 +0300
commit62f8857b2d082069b11851d1ae8ce101752436ee (patch)
tree82c992b6f5296ce13dd57c4c0309608ecf6aea4f /tools/perf/scripts/python/syscall-counts.py
parent5e206459f670b579da9b7861a0f3ce3b989a68b6 (diff)
downloadlinux-62f8857b2d082069b11851d1ae8ce101752436ee.tar.xz
HID: amd_sfh: change global variables to static
Smatch reports this representative issue amd_sfh_hid_report_desc.h:182:10: warning: symbol 'gyro3_report_descriptor' was not declared. Should it be static? Similar issues for comp3_report_descriptor and als_report_descriptor. Global variables should not be defined in header files. This only works because amd_sfh_hid_report_desc.h in only included by amd_sfh_hid_desc.c so change the storage-class specifiers to static. Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions