summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-23 14:24:43 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-25 04:33:05 +0200
commit010f7c2ab4ad8e17d0a4f3b12b74076c8bddd0c2 (patch)
treeb0b33262b19a2f0a377f60163d3cf26d449320ad /drivers/scsi
parentscsi: qedi: Demote seemingly unintentional kerneldoc header (diff)
downloadlinux-010f7c2ab4ad8e17d0a4f3b12b74076c8bddd0c2.tar.xz
linux-010f7c2ab4ad8e17d0a4f3b12b74076c8bddd0c2.zip
scsi: qedi: Staticify non-external function 'qedi_get_iscsi_error'
Fixes the following W=1 kernel build warning(s): drivers/scsi/qedi/qedi_iscsi.c:1549:7: warning: no previous prototype for ‘qedi_get_iscsi_error’ [-Wmissing-prototypes] Link: https://lore.kernel.org/r/20200723122446.1329773-38-lee.jones@linaro.org Cc: QLogic-Storage-Upstream@cavium.com Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qedi/qedi_iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qedi/qedi_iscsi.c b/drivers/scsi/qedi/qedi_iscsi.c
index 425e665ec08b..c14ac7882afa 100644
--- a/drivers/scsi/qedi/qedi_iscsi.c
+++ b/drivers/scsi/qedi/qedi_iscsi.c
@@ -1546,7 +1546,7 @@ static const struct {
},
};
-char *qedi_get_iscsi_error(enum iscsi_error_types err_code)
+static char *qedi_get_iscsi_error(enum iscsi_error_types err_code)
{
int i;
char *msg = NULL;