diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-03-12 02:24:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-12 02:24:03 -0400 |
commit | ff5e2b4732b8386d8354da2cdf7c146487f51736 (patch) | |
tree | 03ab8c22ea836156735d683c9b02148a39d40b03 /drivers/net/wimax | |
parent | fc1ad92dfc4e363a055053746552cdb445ba5c57 (diff) |
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r-- | drivers/net/wimax/i2400m/netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/netdev.c b/drivers/net/wimax/i2400m/netdev.c index a98eb4bafc56..6b1fe7a81f25 100644 --- a/drivers/net/wimax/i2400m/netdev.c +++ b/drivers/net/wimax/i2400m/netdev.c | |||
@@ -520,7 +520,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb, | |||
520 | struct device *dev = i2400m_dev(i2400m); | 520 | struct device *dev = i2400m_dev(i2400m); |
521 | int protocol; | 521 | int protocol; |
522 | 522 | ||
523 | d_fnstart(2, dev, "(i2400m %p skb %p [%zu] cs %d)\n", | 523 | d_fnstart(2, dev, "(i2400m %p skb %p [%u] cs %d)\n", |
524 | i2400m, skb, skb->len, cs); | 524 | i2400m, skb, skb->len, cs); |
525 | switch(cs) { | 525 | switch(cs) { |
526 | case I2400M_CS_IPV4_0: | 526 | case I2400M_CS_IPV4_0: |
@@ -545,7 +545,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb, | |||
545 | d_dump(4, dev, skb->data, skb->len); | 545 | d_dump(4, dev, skb->data, skb->len); |
546 | netif_rx_ni(skb); /* see notes in function header */ | 546 | netif_rx_ni(skb); /* see notes in function header */ |
547 | error: | 547 | error: |
548 | d_fnend(2, dev, "(i2400m %p skb %p [%zu] cs %d) = void\n", | 548 | d_fnend(2, dev, "(i2400m %p skb %p [%u] cs %d) = void\n", |
549 | i2400m, skb, skb->len, cs); | 549 | i2400m, skb, skb->len, cs); |
550 | } | 550 | } |
551 | 551 | ||