Re: [PATCH] scsi: myrs: Fix uninitialized variable

From: Martin K. Petersen
Date: Mon May 13 2019 - 18:45:59 EST



YueHaibing,

> If ev->ev_code is not 0x1C, sshdr.sense_key may be used
> uninitialized. Fix this by initializing variable 'sshdr' to 0.

Applied to 5.2/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering