[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200807040643.m646hCaG017243@imap1.linux-foundation.org>
Date: Thu, 03 Jul 2008 23:43:12 -0700
From: akpm@...ux-foundation.org
To: jeff@...zik.org
Cc: netdev@...r.kernel.org, akpm@...ux-foundation.org,
randy.dunlap@...cle.com, jeffrey.t.kirsher@...el.com
Subject: [patch 5/6] e100: fix printk format warning
From: Randy Dunlap <randy.dunlap@...cle.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@...cle.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Signed-off-by: Andrew Morton <akpm@...ux-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);
_
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists