diff options
author | Zang Leigang <zangleigang@hisilicon.com> | 2017-09-19 16:50:30 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-09-27 21:40:57 -0400 |
commit | 479da360570ac7195cbcd89c6a9d6360ae8fe8e1 (patch) | |
tree | c505f4de7a9eace38d5cd442795500a671675635 /drivers/scsi/ufs | |
parent | c0ff7e2c217d6b367cd0343f14866677f7cf4dc6 (diff) | |
download | linux-stable-479da360570ac7195cbcd89c6a9d6360ae8fe8e1.tar.gz linux-stable-479da360570ac7195cbcd89c6a9d6360ae8fe8e1.tar.bz2 linux-stable-479da360570ac7195cbcd89c6a9d6360ae8fe8e1.zip |
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>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |