lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 9 Mar 2009 16:26:20 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	Andres Salomon <dilinger@...ian.org>,
	akpm <akpm@...ux-foundation.org>
Subject: [PATCH -mmotm] gpio: fix cs553x printk format

From: Randy Dunlap <randy.dunlap@...cle.com>

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 <randy.dunlap@...cle.com>
---
 drivers/gpio/cs553x-gpio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- mmotm-2009-0306-1659.orig/drivers/gpio/cs553x-gpio.c
+++ mmotm-2009-0306-1659/drivers/gpio/cs553x-gpio.c
@@ -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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ