Skip to content

Commit 4f3b436

Browse files
Devyn LiuBartosz Golaszewski
authored andcommitted
gpio: hisi: Fix format specifier
The hisi_gpio->line is unsigned int so the format specifier should have been %u not %d. Signed-off-by: Devyn Liu <liudingyuan@huawei.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent 668706b commit 4f3b436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio-hisi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ static void hisi_gpio_get_pdata(struct device *dev,
255255
hisi_gpio->irq = platform_get_irq(pdev, idx);
256256

257257
dev_info(dev,
258-
"get hisi_gpio[%d] with %d lines\n", idx,
258+
"get hisi_gpio[%d] with %u lines\n", idx,
259259
hisi_gpio->line_num);
260260

261261
idx++;

0 commit comments

Comments
 (0)