Skip to content

Commit 7868b3a

Browse files
liujingcminyard
authored andcommitted
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>
1 parent 2378bd0 commit 7868b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/ipmi/ipmi_si_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static int ipmi_pci_probe(struct pci_dev *pdev,
118118
if (io.irq)
119119
io.irq_setup = ipmi_std_irq_setup;
120120

121-
dev_info(&pdev->dev, "%pR regsize %d spacing %d irq %d\n",
121+
dev_info(&pdev->dev, "%pR regsize %u spacing %u irq %d\n",
122122
&pdev->resource[0], io.regsize, io.regspacing, io.irq);
123123

124124
return ipmi_si_add_smi(&io);

0 commit comments

Comments
 (0)