scsi: pm80xx: Add fatal error checks
authorChangyuan Lyu <changyuanl@google.com>
Fri, 26 May 2023 23:51:55 +0000 (23:51 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Jun 2023 00:06:53 +0000 (20:06 -0400)
commit4851c39aae3a917d09983e1c6948fa9d749b5448
tree0a0d3c78f9dd28ae591bdfa630c244e3b680aa42
parentb58b2ba351b07f546a8c1fb4eb46303231c24e95
scsi: pm80xx: Add fatal error checks

Add fatal error checking for the pm8001_phy_control() and
pm8001_lu_reset() functions.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Signed-off-by: Pranav Prasad <pranavpp@google.com>
Link: https://lore.kernel.org/r/20230526235155.433243-1-pranavpp@google.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_sas.c