Re: [PATCH] scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()

From: Martin K. Petersen
Date: Wed Oct 20 2021 - 23:43:30 EST


On Wed, 6 Oct 2021 10:32:43 +0300, Dan Carpenter wrote:

> 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.
>
>
> [...]

Applied to 5.16/scsi-queue, thanks!

[1/1] scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
https://git.kernel.org/mkp/scsi/c/f4875d509a0a

--
Martin K. Petersen Oracle Linux Engineering