kernel_samsung_a53x/drivers/scsi/lpfc
Justin Tee 7dfc576417 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-11-23 23:20:45 +01:00
..
lpfc.h scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic 2024-11-19 11:32:43 +01:00
lpfc_attr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_attr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_bsg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_bsg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_compat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_crtn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_ct.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_disc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_els.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_hbadisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_hw4.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_ids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_init.c scsi: lpfc: Fix possible file string name overflow when updating firmware 2024-11-18 12:13:12 +01:00
lpfc_logmsg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_mbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_mem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_nl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_nportdisc.c scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() 2024-11-19 09:23:14 +01:00
lpfc_nvme.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_nvme.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_nvmet.c scsi: lpfc: Correct size for wqe for memset() 2024-11-19 09:22:43 +01:00
lpfc_scsi.c scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic 2024-11-19 11:32:43 +01:00
lpfc_scsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_sli.c scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list() 2024-11-23 23:20:45 +01:00
lpfc_sli.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_sli4.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_version.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_vport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpfc_vport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00