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

Martin K. Petersen martin.petersen at oracle.com
Wed Jun 9 19:56:57 PDT 2021


> 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-staging, thanks!

Martin K. Petersen	Oracle Linux Engineering

More information about the Linux-mediatek mailing list