scsi: ufs: fix a pclint warning
PATCH 1/1 scsi: ufs: fix a pclint warning
Signed-off-by Zang Leigang <[email protected]>
drivers/scsi/ufs/ufshcd.c +1 -1
@@ -3586,7 +3586,7 @@ static int ufshcd_uic_pwr_ctrl(struct ufs_hba *hba, struct uic_command *cmd) status =ufshcd_get_upmcrs (hba);if (status !=PWR_LOCAL ) {dev_err (hba->dev, -"pwr ctrl cmd 0x%0x failed, host upmcrs:0x%x\n" , +"pwr ctrl cmd 0x%x failed, host upmcrs:0x%x\n" , cmd->command, status); ret = (status !=PWR_OK ) ? status :-1 ; }
Signature · 1 line
2.14.1
Quoted 15 lines · Zang Leigang
Signed-off-by Zang Leigang <[email protected]>drivers/scsi/ufs/ufshcd.c +1
-1@@ -3586,7 +3586,7 @@ static int ufshcd_uic_pwr_ctrl(struct ufs_hba *hba, struct uic_command *cmd) status =ufshcd_get_upmcrs (hba);if (status !=PWR_LOCAL ) {dev_err (hba->dev, -"pwr ctrl cmd 0x%0x failed, host upmcrs:0x%x\n" , +"pwr ctrl cmd 0x%x failed, host upmcrs:0x%x\n" , cmd->command, status); ret = (status !=PWR_OK ) ? status :-1 ;
Quoted 1 line
}
Looks good to me.
Reviewed-by Subhash Jadavani <[email protected]>
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Martin K. Petersen
AppliedZang,
Applied to 4.15/scsi-queue. Thank you!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering