[PATCH v3] scsi: ufs: Fix a possible use before initialization case

Martin K. Petersen martin.petersen at oracle.com
Tue Jun 15 20:48:51 PDT 2021


On Wed, 9 Jun 2021 01:24:00 -0700, Can Guo wrote:

> In ufshcd_exec_dev_cmd(), if error happens before lrpb is initialized,
> then we should bail out instead of letting trace record the error.

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: ufs: Fix a possible use before initialization case
      https://git.kernel.org/mkp/scsi/c/eb783bb8bbe7

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-mediatek mailing list