Skip to contentSkip to conversation

wimax: fix i2400m printk formats

PATCH Applied Inaky Perez-Gonzalez 2 participants 2 messages Mar 10, 2009 – Mar 12, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wimax: fix i2400m printk formats

From: Randy Dunlap <[email protected]>

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'

---
 drivers/net/wimax/i2400m/netdev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wimax/i2400m/netdev.c +2 -2
index a98eb4b..6b1fe7a 100644
@@ -520,7 +520,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb,
 	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 *i2400m, struct sk_buff *skb,
 	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);
 }
 
Signature · 1 line
1.5.6.5
maintainer Applied
#1 lore raw

From: Inaky Perez-Gonzalez <[email protected]>
Date: Tue, 10 Mar 2009 11:48:29 -0700

Quoted 9 lines

From: Randy Dunlap <[email protected]>

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'

Applied.