From: Yue Hu Date: Thu, 11 Mar 2021 04:02:10 +0000 (+0800) Subject: scsi: ufs: core: Correct status type in ufshcd_vops_pwr_change_notify() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7a0c0e6ce130f506449549c5c5fe7902cf83a200;p=linux.git scsi: ufs: core: Correct status type in ufshcd_vops_pwr_change_notify() The status parameter's type should be enum ufs_notify_change_status. Link: https://lore.kernel.org/r/20210311040210.1315-1-zbestahu@gmail.com Signed-off-by: Yue Hu Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index cb72695b77ab3..5eb66a8debc71 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -1186,7 +1186,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) {