summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2019-12-17 16:43:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-12-20 06:08:54 +0300
commit0c3dbdeb72842ffd09cd23a28b4cf100e2ea4109 (patch)
treebaa2626e1aab3778fba54f0f6f53936b2e03c678
parent4aca8fe7716669e39f7857b2e1fc5dfd4475b7e5 (diff)
downloadlinux-0c3dbdeb72842ffd09cd23a28b4cf100e2ea4109.tar.xz
scsi: initio: make initio_state_7() static
Fix sparse warning: drivers/scsi/initio.c:1643:5: warning: symbol 'initio_state_7' was not declared. Should it be static? Link: https://lore.kernel.org/r/20191217134309.41649-1-chenzhou10@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/initio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c
index 41fd64c9c8e9..1d39628ac947 100644
--- a/drivers/scsi/initio.c
+++ b/drivers/scsi/initio.c
@@ -1640,7 +1640,7 @@ static int initio_state_6(struct initio_host * host)
*
*/
-int initio_state_7(struct initio_host * host)
+static int initio_state_7(struct initio_host * host)
{
int cnt, i;