On Thu, Oct 12, 2023 at 12:57 PM Devyn Liu <liudingyuan@xxxxxxxxxx> wrote: > > The hisi_gpio->line is unsigned int so the format specifier > should have been %u not %d. > > Signed-off-by: Devyn Liu <liudingyuan@xxxxxxxxxx> > --- > drivers/gpio/gpio-hisi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c > index 29a03de37fd8..ef5cc654a24e 100644 > --- a/drivers/gpio/gpio-hisi.c > +++ b/drivers/gpio/gpio-hisi.c > @@ -255,7 +255,7 @@ static void hisi_gpio_get_pdata(struct device *dev, > hisi_gpio->irq = platform_get_irq(pdev, idx); > > dev_info(dev, > - "get hisi_gpio[%d] with %d lines\n", idx, > + "get hisi_gpio[%d] with %u lines\n", idx, > hisi_gpio->line_num); > > idx++; > -- > 2.30.0 > Applied, thanks! Bart