Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Devyn Liu and committed by
Bartosz Golaszewski
4f3b436e 668706b1

+1 -1
+1 -1
drivers/gpio/gpio-hisi.c
··· 255 255 hisi_gpio->irq = platform_get_irq(pdev, idx); 256 256 257 257 dev_info(dev, 258 - "get hisi_gpio[%d] with %d lines\n", idx, 258 + "get hisi_gpio[%d] with %u lines\n", idx, 259 259 hisi_gpio->line_num); 260 260 261 261 idx++;