scsi: ufs: Do not exit reset of error functions unless operational
Status from this message: Applied to 5.16/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | scsi: ufs: Do not exit ufshcd_reset_and_restore() unless operational or deaddrivers/ | +23 | 1 reply | |
| 2/2 | scsi: ufs: Do not exit ufshcd_err_handler() unless operational or deaddrivers/ | +25 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Avri altman |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] scsi: ufs: Do not exit reset of error functions unless operational
Hi
Callers of ufshcd_reset_and_restore() and ufshcd_err_handler() expect them to return in an operational state. However, the code does not check the state before exiting. Here are a couple of patches to correct that.
Adrian Hunter (2):
scsi: ufs: Do not exit ufshcd_reset_and_restore() unless operational or dead
scsi: ufs: Do not exit ufshcd_err_handler() unless operational or dead
drivers/scsi/ufs/ufshcd.c | 66 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 18 deletions(-)
Regards
Adrian