All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: fix a pclint warning
@ 2017-09-19  8:50 Zang Leigang
  2017-09-26 21:42 ` Subhash Jadavani
  2017-09-28  1:41 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Zang Leigang @ 2017-09-19  8:50 UTC (permalink / raw)
  To: vinholikatti, jejb, martin.petersen, linux-scsi

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;
 	}
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: ufs: fix a pclint warning
  2017-09-19  8:50 [PATCH] scsi: ufs: fix a pclint warning Zang Leigang
@ 2017-09-26 21:42 ` Subhash Jadavani
  2017-09-28  1:41 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Subhash Jadavani @ 2017-09-26 21:42 UTC (permalink / raw)
  To: Zang Leigang
  Cc: vinholikatti, jejb, martin.petersen, linux-scsi, linux-scsi-owner

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>

-- 
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: ufs: fix a pclint warning
  2017-09-19  8:50 [PATCH] scsi: ufs: fix a pclint warning Zang Leigang
  2017-09-26 21:42 ` Subhash Jadavani
@ 2017-09-28  1:41 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2017-09-28  1:41 UTC (permalink / raw)
  To: Zang Leigang; +Cc: vinholikatti, jejb, martin.petersen, linux-scsi


Zang,

Applied to 4.15/scsi-queue. Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-28  1:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19  8:50 [PATCH] scsi: ufs: fix a pclint warning Zang Leigang
2017-09-26 21:42 ` Subhash Jadavani
2017-09-28  1:41 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.