Skip to contentSkip to conversation

scsi: ufs: Correct status type in ufshcd_vops_pwr_change_notify()

PATCH Applied Yue Hu 2 participants 3 messages Mar 11, 2021 – Mar 30, 2021 SCSI

lore
Share & tools
lore

Yue Hu

author
#0 lore raw

PATCH 1/1 scsi: ufs: Correct status type in ufshcd_vops_pwr_change_notify()

From: Yue Hu <[email protected]>

The status paramster's type should be enum ufs_notify_change_status.

---
 drivers/scsi/ufs/ufshcd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/ufs/ufshcd.h +1 -1
index 18e56c1..b8c9582 100644
@@ -1181,7 +1181,7 @@ static inline int ufshcd_vops_phy_initialization(struct ufs_hba *hba)
 }
 
 static inline int ufshcd_vops_pwr_change_notify(struct ufs_hba *hba,
-				  bool status,
+				  enum ufs_notify_change_status status,
 				  struct ufs_pa_layer_attr *dev_max_params,
 				  struct ufs_pa_layer_attr *dev_req_params)
 {
Signature · 1 line
1.9.1
#1 lore raw

Yue,

Quoted 1 line

The status paramster's type should be enum ufs_notify_change_status.

Applied to 5.13/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering