gpio: fix cs553x printk format
PATCH 1/1 gpio: fix cs553x printk format
From: Randy Dunlap <[email protected]>
Fix printk format warning:
drivers/gpio/cs553x-gpio.c:193: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'resource_size_t'
Signed-off-by Randy Dunlap <[email protected]>
--- drivers/gpio/cs553x-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/cs553x-gpio.c +2 -2
@@ -190,8 +190,8 @@ static int __init cs553x_gpio_probe(stru cs553x_gpio_chip.pdev = pdev;spin_lock_init (&cs553x_gpio_chip.lock); -dev_info (&pdev->dev,"allocated PCI BAR #%d: base 0x%x\n" ,GPIO_BAR , - cs553x_gpio_chip.base); +dev_info (&pdev->dev,"allocated PCI BAR #%d: base 0x%llx\n" ,GPIO_BAR , + (unsigned long long )cs553x_gpio_chip.base);/* finally, register with the generic GPIO API */ err =gpiochip_add (&cs553x_gpio_chip.chip);