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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110710114403.b14120eb.randy.dunlap@oracle.com>
Date:	Sun, 10 Jul 2011 11:44:03 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	akpm@...ux-foundation.org, Anatolij Gustschin <agust@...x.de>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH -mmotm] misc: fix eeprom printk format

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

drivers/misc/eeprom/eeprom_93xx46.c:95: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Anatolij Gustschin <agust@...x.de>
applies-to: misc-eeprom-add-driver-for-microwire-93xx46-eeproms.patch
---
 drivers/misc/eeprom/eeprom_93xx46.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- mmotm-2011-0708-1250.orig/drivers/misc/eeprom/eeprom_93xx46.c
+++ mmotm-2011-0708-1250/drivers/misc/eeprom/eeprom_93xx46.c
@@ -91,7 +91,7 @@ eeprom_93xx46_bin_read(struct file *filp
 	/* have to wait at least Tcsl ns */
 	ndelay(250);
 	if (ret) {
-		dev_err(&edev->spi->dev, "read %d bytes at %d: err. %d\n",
+		dev_err(&edev->spi->dev, "read %zu bytes at %d: err. %d\n",
 			count, (int)off, ret);
 	}
 
--
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