mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
char:ipmi: Fix the wrong format specifier
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. Signed-off-by: liujing <liujing@cmss.chinamobile.com> Message-ID: <20241106111458.2157-1-liujing@cmss.chinamobile.com> Signed-off-by: Corey Minyard <corey@minyard.net>
This commit is contained in:
parent
2378bd0b26
commit
7868b3a940
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user