mbox series

[RESEND,0/5] scsi: hisi_sas: Minor fixes and cleanups

Message ID 1702525516-51258-1-git-send-email-chenxiang66@hisilicon.com
Headers show
Series scsi: hisi_sas: Minor fixes and cleanups | expand

Message

chenxiang Dec. 14, 2023, 3:45 a.m. UTC
From: Xiang Chen <chenxiang66@hisilicon.com>

This series contain some fixes and cleanups including:
- Set .phy_attached before notifying phyup event HISI_PHYEE_PHY_UP_PM;
- Use standard error code instead of hardcode;
- Check before using pointer variable;
- Rollback some operations if FLR failed;
- Correct the number of global debugfs registers;

Yihang Li (5):
  scsi: hisi_sas: Set .phy_attached before notifing phyup event
    HISI_PHYE_PHY_UP_PM
  scsi: hisi_sas: Replace with standard error code return value
  scsi: hisi_sas: Check before using pointer variables
  scsi: hisi_sas: Rollback some operations if FLR failed
  scsi: hisi_sas: Correct the number of global debugfs registers

 drivers/scsi/hisi_sas/hisi_sas_main.c  | 11 +++++++----
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 19 ++++++++++++-------
 2 files changed, 19 insertions(+), 11 deletions(-)

Comments

Martin K. Petersen Dec. 19, 2023, 2:18 a.m. UTC | #1
On Thu, 14 Dec 2023 11:45:11 +0800, chenxiang wrote:

> This series contain some fixes and cleanups including:
> - Set .phy_attached before notifying phyup event HISI_PHYEE_PHY_UP_PM;
> - Use standard error code instead of hardcode;
> - Check before using pointer variable;
> - Rollback some operations if FLR failed;
> - Correct the number of global debugfs registers;
> 
> [...]

Applied to 6.8/scsi-queue, thanks!

[1/5] scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
      https://git.kernel.org/mkp/scsi/c/ce26497c745d
[2/5] scsi: hisi_sas: Replace with standard error code return value
      https://git.kernel.org/mkp/scsi/c/d34ee535705e
[3/5] scsi: hisi_sas: Check before using pointer variables
      https://git.kernel.org/mkp/scsi/c/8dd10296be85
[4/5] scsi: hisi_sas: Rollback some operations if FLR failed
      https://git.kernel.org/mkp/scsi/c/7ea3e7763c50
[5/5] scsi: hisi_sas: Correct the number of global debugfs registers
      https://git.kernel.org/mkp/scsi/c/73e33f969ef0