diff options
| author | Baoyou Xie <[email protected]> | 2016-08-27 23:49:24 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-09-04 01:28:07 -0400 |
| commit | 61b96d5b68a5aa58351a461cae81117ca9744069 (patch) | |
| tree | 1a19d027dcaf4c494f377a9eede09c6fb0f1cb76 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | f6dbe38edf1ef4929847c90e244204ef4c6b3ce7 (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 <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions