Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600423

Re: [PATCH] mfd: rtsx: Convert forgotten dev_info() statement to pcr_dbg()

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mfd: rtsx: Convert forgotten dev_info() statement to pcr_dbg()
Date 2017-03-14 14:50 +0100
Message-ID <tkUZR-Q3-43@gated-at.bofh.it> (permalink)
References <t6wNH-No-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 02 Feb 2017, Borislav Petkov wrote:

> From: Borislav Petkov <bp@suse.de>
> 
> It is a debugging statement so make it be issued only then.
> 
> No functionality change.
> 
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Cc: Lee Jones <lee.jones@linaro.org>
> ---
>  drivers/mfd/rtsx_pcr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c
> index 98029ee0959e..850590aac008 100644
> --- a/drivers/mfd/rtsx_pcr.c
> +++ b/drivers/mfd/rtsx_pcr.c
> @@ -927,7 +927,7 @@ static irqreturn_t rtsx_pci_isr(int irq, void *dev_id)
>  
>  static int rtsx_pci_acquire_irq(struct rtsx_pcr *pcr)
>  {
> -	dev_info(&(pcr->pci->dev), "%s: pcr->msi_en = %d, pci->irq = %d\n",
> +	pcr_dbg(pcr, "%s: pcr->msi_en = %d, pci->irq = %d\n",
>  			__func__, pcr->msi_en, pcr->pci->irq);
>  
>  	if (request_irq(pcr->pci->irq, rtsx_pci_isr,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] mfd: rtsx: Convert forgotten dev_info() statement to  pcr_dbg() Lee Jones <lee.jones@linaro.org> - 2017-03-14 14:50 +0100

csiph-web