android_kernel_xiaomi_sm7250/drivers/scsi/csiostor
Dan Carpenter b459cb9432 scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
[ Upstream commit f4875d509a0a78ad294a1a538d534b5ba94e685a ]

This variable is just a temporary variable, used to do an endian
conversion.  The problem is that the last byte is not initialized.  After
the conversion is completely done, the last byte is discarded so it doesn't
cause a problem.  But static checkers and the KMSan runtime checker can
detect the uninitialized read and will complain about it.

Link: https://lore.kernel.org/r/20211006073242.GA8404@kili
Fixes: 5036f0a0ec ("[SCSI] csiostor: Fix sparse warnings.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:36:13 +01:00
..
csio_attr.c
csio_defs.h
csio_hw_chip.h
csio_hw_t5.c
csio_hw.c scsi: csiostor: Fix wrong return value in csio_hw_prep_fw() 2020-10-29 09:55:07 +01:00
csio_hw.h
csio_init.c scsi: csiostor: Add module softdep on cxgb4 2021-10-06 15:31:24 +02:00
csio_init.h
csio_isr.c
csio_lnode.c scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn() 2021-11-26 11:36:13 +01:00
csio_lnode.h
csio_mb.c
csio_mb.h
csio_rnode.c
csio_rnode.h
csio_scsi.c scsi: csiostor: Adjust indentation in csio_device_reset 2020-02-11 04:34:12 -08:00
csio_scsi.h
csio_wr.c
csio_wr.h
Kconfig
Makefile
t4fw_api_stor.h