WSL2-Linux-Kernel/drivers/scsi/lpfc
Justin Tee 3ecf37c04e scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()
[ Upstream commit 3d0f9342ae200aa1ddc4d6e7a573c6f8f068d994 ]

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-09-04 13:23:24 +02:00
..
Makefile
lpfc.h scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic 2024-05-17 11:50:52 +02:00
lpfc_attr.c
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path 2023-09-19 12:22:29 +02:00
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
lpfc_ct.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_debugfs.c scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file() 2023-09-23 11:10:01 +02:00
lpfc_debugfs.h scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
lpfc_disc.h
lpfc_els.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_hbadisc.c
lpfc_hw.h
lpfc_hw4.h Revert "scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4" 2022-11-03 23:59:14 +09:00
lpfc_ids.h
lpfc_init.c scsi: lpfc: Fix possible file string name overflow when updating firmware 2024-02-23 08:54:41 +01:00
lpfc_logmsg.h
lpfc_mbox.c
lpfc_mem.c scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() 2024-04-13 13:01:44 +02:00
lpfc_nvme.c scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port() 2024-05-17 11:50:52 +02:00
lpfc_nvme.h Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_nvmet.c scsi: lpfc: Correct size for wqe for memset() 2024-04-10 16:19:34 +02:00
lpfc_scsi.c scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic 2024-05-17 11:50:52 +02:00
lpfc_scsi.h
lpfc_sli.c scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list() 2024-09-04 13:23:24 +02:00
lpfc_sli.h Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_sli4.h
lpfc_version.h
lpfc_vport.c scsi: lpfc: Move NPIV's transport unregistration to after resource clean up 2024-05-17 11:50:51 +02:00
lpfc_vport.h