On Wed, Nov 06, 2024 at 07:14:58PM +0800, liujing wrote:
> Because the types of io.regsize and io.regspacing in the ipmipci_probe 
> function are unsigned int,
> they should be output in the %u format.

I reformatted the above text to fit into 80 characters, but this is
right, I've applied it.

-corey

> 
> Signed-off-by: liujing <liuj...@cmss.chinamobile.com>
> 
> diff --git a/drivers/char/ipmi/ipmi_si_pci.c b/drivers/char/ipmi/ipmi_si_pci.c
> index b83d55685b22..8c0ea637aba0 100644
> --- a/drivers/char/ipmi/ipmi_si_pci.c
> +++ b/drivers/char/ipmi/ipmi_si_pci.c
> @@ -118,7 +118,7 @@ static int ipmi_pci_probe(struct pci_dev *pdev,
>       if (io.irq)
>               io.irq_setup = ipmi_std_irq_setup;
>  
> -     dev_info(&pdev->dev, "%pR regsize %d spacing %d irq %d\n",
> +     dev_info(&pdev->dev, "%pR regsize %u spacing %u irq %d\n",
>                &pdev->resource[0], io.regsize, io.regspacing, io.irq);
>  
>       return ipmi_si_add_smi(&io);
> -- 
> 2.27.0
> 
> 
> 


_______________________________________________
Openipmi-developer mailing list
Openipmi-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to