diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-08-27 17:49:24 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-04 07:28:07 +0200 |
commit | 61b96d5b68a5aa58351a461cae81117ca9744069 (patch) | |
tree | 1a19d027dcaf4c494f377a9eede09c6fb0f1cb76 /kernel/smpboot.h | |
parent | scsi: ibmvscsis: Fixed a bug reported by Dan Carpenter (diff) | |
download | linux-61b96d5b68a5aa58351a461cae81117ca9744069.tar.xz linux-61b96d5b68a5aa58351a461cae81117ca9744069.zip |
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 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions