linux-imx/drivers/scsi/lpfc
Justin Tee 12b5b95908 scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()
[ Upstream commit 3d0f9342ae ]

A static code analyzer tool indicates that the local variable called status
in the lpfc_sli4_repost_sgl_list() routine could be used to print garbage
uninitialized values in the routine's log message.

Fix by initializing to zero.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240131185112.149731-2-justintee8345@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:33:34 +02:00
..
lpfc_attr.c scsi: lpfc: Fix a possible null pointer dereference 2024-08-03 08:53:59 +02:00
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-05-17 12:02:09 +02:00
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Replace blk_irq_poll intr handler with threaded IRQ 2023-05-08 07:16:05 -04:00
lpfc_ct.c scsi: lpfc: Make fabric zone discovery more robust when handling unsolicited LOGO 2023-07-23 16:17:07 -04:00
lpfc_debugfs.c scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-05-17 12:02:09 +02:00
lpfc_debugfs.h
lpfc_disc.h
lpfc_els.c scsi: lpfc: Release hbalock before calling lpfc_worker_wake_up() 2024-05-17 12:02:09 +02:00
lpfc_hbadisc.c scsi: lpfc: Allow DEVICE_RECOVERY mode after RSCN receipt if in PRLI_ISSUE state 2024-08-03 08:54:26 +02:00
lpfc_hw.h scsi: lpfc: Set Establish Image Pair service parameter only for Target Functions 2023-07-23 16:17:07 -04:00
lpfc_hw4.h scsi: lpfc: Clean up SLI-4 CQE status handling 2023-05-31 18:14:20 -04:00
lpfc_ids.h
lpfc_init.c scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-05-17 12:02:09 +02:00
lpfc_logmsg.h scsi: lpfc: Copyright updates for 14.2.0.13 patches 2023-05-31 18:14:20 -04:00
lpfc_mbox.c scsi: lpfc: Fix double word in comments 2023-02-21 22:00:51 -05:00
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() 2024-04-13 13:07:34 +02:00
lpfc_nvme.c scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port() 2024-05-17 12:02:09 +02:00
lpfc_nvme.h
lpfc_nvmet.c scsi: lpfc: Correct size for wqe for memset() 2024-04-03 15:29:03 +02:00
lpfc_scsi.c scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic 2024-05-17 12:02:09 +02:00
lpfc_scsi.h
lpfc_sli.c scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list() 2024-08-29 17:33:34 +02:00
lpfc_sli.h
lpfc_sli4.h scsi: lpfc: Replace blk_irq_poll intr handler with threaded IRQ 2023-05-08 07:16:05 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.2.0.14 2023-07-23 16:17:08 -04:00
lpfc_vmid.c scsi: lpfc: Move determination of vmid_flag after VMID reinitialization completes 2024-02-05 20:14:23 +00:00
lpfc_vport.c scsi: lpfc: Move NPIV's transport unregistration to after resource clean up 2024-05-17 12:02:09 +02:00
lpfc_vport.h
lpfc.h scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-05-17 12:02:09 +02:00
Makefile