-
由 Daejun Park 提交于
Fix referencing sense data when it is invalid. When the length of the data segment is 0, there is no valid information in the rsp field, so ufshpb_rsp_upiu() is returned without additional operation. Link: https://lore.kernel.org/r/252651381.41652940482659.JavaMail.epsvc@epcpadp4 Fixes: 4b5f4907 ("scsi: ufs: ufshpb: L2P map management for HPB read") Acked-by: NAvri Altman <avri.altman@wdc.com> Signed-off-by: NDaejun Park <daejun7.park@samsung.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
d5d92b64