[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090309162718.e38a7299.randy.dunlap@oracle.com>
Date: Mon, 9 Mar 2009 16:27:18 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>, inaky.perez-gonzalez@...el.com
Subject: [PATCH -mmotm] wimax: fix i2400m printk formats
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix printk format warnings:
drivers/net/wimax/i2400m/netdev.c:523: warning: format '%zu' expects type 'size_t', but argument 7 has type 'unsigned int'
drivers/net/wimax/i2400m/netdev.c:548: warning: format '%zu' expects type 'size_t', but argument 7 has type 'unsigned int'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
drivers/net/wimax/i2400m/netdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- mmotm-2009-0306-1659.orig/drivers/net/wimax/i2400m/netdev.c
+++ mmotm-2009-0306-1659/drivers/net/wimax/i2400m/netdev.c
@@ -520,7 +520,7 @@ void i2400m_net_erx(struct i2400m *i2400
struct device *dev = i2400m_dev(i2400m);
int protocol;
- d_fnstart(2, dev, "(i2400m %p skb %p [%zu] cs %d)\n",
+ d_fnstart(2, dev, "(i2400m %p skb %p [%u] cs %d)\n",
i2400m, skb, skb->len, cs);
switch(cs) {
case I2400M_CS_IPV4_0:
@@ -545,7 +545,7 @@ void i2400m_net_erx(struct i2400m *i2400
d_dump(4, dev, skb->data, skb->len);
netif_rx_ni(skb); /* see notes in function header */
error:
- d_fnend(2, dev, "(i2400m %p skb %p [%zu] cs %d) = void\n",
+ d_fnend(2, dev, "(i2400m %p skb %p [%u] cs %d) = void\n",
i2400m, skb, skb->len, cs);
}
--
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