summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/8250_pci.c
diff options
context:
space:
mode:
authorDaejun Park <daejun7.park@samsung.com>2022-05-19 15:05:29 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-19 21:01:02 -0400
commitd5d92b64408443e113b9742f8f1c35278910dd4d (patch)
tree85b899ebbe065f8aba58b90338e7d06a4451c95d /drivers/tty/serial/8250/8250_pci.c
parent525f447f88b14a64424642de670f77424e067d5b (diff)
scsi: ufs: core: Fix referencing invalid rsp field
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: 4b5f49079c52 ("scsi: ufs: ufshpb: L2P map management for HPB read") Acked-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Daejun Park <daejun7.park@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/tty/serial/8250/8250_pci.c')
0 files changed, 0 insertions, 0 deletions