summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-08-27 23:49:24 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-04 01:28:07 -0400
commit61b96d5b68a5aa58351a461cae81117ca9744069 (patch)
tree1a19d027dcaf4c494f377a9eede09c6fb0f1cb76 /tools/perf/scripts/python/stackcollapse.py
parentf6dbe38edf1ef4929847c90e244204ef4c6b3ce7 (diff)
scsi: pmcraid: mark symbols static where possible
We get 4 warnings about global functions without a declaration in the scsi pmcraid driver when building with W=1: drivers/scsi/pmcraid.c:309:6: warning: no previous prototype for 'pmcraid_init_cmdblk' [-Wmissing-prototypes] drivers/scsi/pmcraid.c:404:6: warning: no previous prototype for 'pmcraid_return_cmd' [-Wmissing-prototypes] drivers/scsi/pmcraid.c:1713:6: warning: no previous prototype for 'pmcraid_ioasc_logger' [-Wmissing-prototypes] drivers/scsi/pmcraid.c:3141:1: warning: no previous prototype for 'pmcraid_init_ioadls' [-Wmissing-prototypes] In fact, these functions are only used in the file in which it is declared and don't need a declaration, but can be made static. so this patch marks it 'static'. Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions