Commit ff5e2b47 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

wimax: fix i2400m printk formats

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarInaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fc1ad92d
...@@ -520,7 +520,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb, ...@@ -520,7 +520,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb,
struct device *dev = i2400m_dev(i2400m); struct device *dev = i2400m_dev(i2400m);
int protocol; 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); i2400m, skb, skb->len, cs);
switch(cs) { switch(cs) {
case I2400M_CS_IPV4_0: case I2400M_CS_IPV4_0:
...@@ -545,7 +545,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb, ...@@ -545,7 +545,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb,
d_dump(4, dev, skb->data, skb->len); d_dump(4, dev, skb->data, skb->len);
netif_rx_ni(skb); /* see notes in function header */ netif_rx_ni(skb); /* see notes in function header */
error: 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); i2400m, skb, skb->len, cs);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment