Message ID | 20170919085030.125435-1-zangleigang@hisilicon.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On 2017-09-19 01:50, Zang Leigang wrote: > Signed-off-by: Zang Leigang <zangleigang@hisilicon.com> > > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c > index 794a4600e952..deb77535b8c9 100644 > --- a/drivers/scsi/ufs/ufshcd.c > +++ b/drivers/scsi/ufs/ufshcd.c > @@ -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; > } Looks good to me. Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Zang, Applied to 4.15/scsi-queue. Thank you!
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 794a4600e952..deb77535b8c9 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -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; }
Signed-off-by: Zang Leigang <zangleigang@hisilicon.com>