Fixes: a3e84f0484ea ("qla2xxx: Fix stale memory access for name pointer") Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx> --- qla_gs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 7e88e828..54c8dfd 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -15,7 +15,7 @@ static int qla2x00_sns_gnn_id(scsi_qla_host_t *, sw_info_t *); static int qla2x00_sns_rft_id(scsi_qla_host_t *); static int qla2x00_sns_rnn_id(scsi_qla_host_t *); -struct sp_name sp_str[] = { +static struct sp_name sp_str[] = { { SPCN_UNKNOWN, "unknown" }, { SPCN_GIDPN, "gidpn" }, { SPCN_GPSC, "gpsc" },