mirror of https://gitee.com/openkylin/linux.git
scsi: ufs: fix a pclint warning
Signed-off-by: Zang Leigang <zangleigang@hisilicon.com> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
c0ff7e2c21
commit
479da36057
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue