OrangePi_CM5/drivers/scsi/csiostor
Dan Carpenter bce61de564 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-18 14:04:18 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
…
csio_attr.c SCSI misc on 20190306 2019-03-09 16:53:47 -08:00
csio_defs.h
…
csio_hw.c SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
csio_hw.h
…
csio_hw_chip.h
…
csio_hw_t5.c scsi: csiostor: Remove 2 unused variables {mc,edc}_bist_status_rdata_reg 2020-07-24 22:32:05 -04:00
csio_init.c scsi: csiostor: Add module softdep on cxgb4 2021-10-06 15:55:56 +02:00
csio_init.h
…
csio_isr.c scsi: csiostor: create per port irq affinity mask set 2019-04-29 08:34:08 -04:00
csio_lnode.c scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn() 2021-11-18 14:04:18 +01:00
csio_lnode.h
…
csio_mb.c scsi: csiostor: clean up indentation issue 2019-09-30 23:09:07 -04:00
csio_mb.h
…
csio_rnode.c scsi: csiostor: Add missing description for csio_rnode_fwevt_handler()'s 'fwevt' param 2020-07-24 22:32:07 -04:00
csio_rnode.h
…
csio_scsi.c scsi: csiostor: Fix spelling mistake "couldnt" -> "couldn't" 2020-08-24 23:11:09 -04:00
csio_scsi.h
…
csio_wr.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
csio_wr.h
…
t4fw_api_stor.h
…