From: Zang Leigang Date: Tue, 19 Sep 2017 08:50:30 +0000 (+0800) Subject: scsi: ufs: fix a pclint warning X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~6564^2~183 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=479da360570ac7195cbcd89c6a9d6360ae8fe8e1;p=mirror_ubuntu-focal-kernel.git scsi: ufs: fix a pclint warning Signed-off-by: Zang Leigang Reviewed-by: Subhash Jadavani Signed-off-by: Martin K. Petersen --- 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; }