netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 5/6] e100: fix printk format warning
@ 2008-07-04  6:43 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-07-04  6:43 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm, randy.dunlap, jeffrey.t.kirsher

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

Fix printk format warning:

drivers/net/e100.c:1145: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/e100.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/e100.c~e100-fix-printk-format-warning drivers/net/e100.c
--- a/drivers/net/e100.c~e100-fix-printk-format-warning
+++ a/drivers/net/e100.c
@@ -1142,7 +1142,7 @@ static const struct firmware *e100_reque
 	/* Firmware should be precisely UCODE_SIZE (words) plus three bytes
 	   indicating the offsets for BUNDLESMALL, BUNDLEMAX, INTDELAY */
 	if (fw->size != UCODE_SIZE * 4 + 3) {
-		DPRINTK(PROBE,ERR, "Firmware \"%s\" has wrong size %d\n",
+		DPRINTK(PROBE,ERR, "Firmware \"%s\" has wrong size %zu\n",
 			fw_name, fw->size);
 		release_firmware(fw);
 		return ERR_PTR(-EINVAL);
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-04  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04  6:43 [patch 5/6] e100: fix printk format warning akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).