mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -mmotm] wimax: fix i2400m printk formats
@ 2009-03-09 23:27 Randy Dunlap
  2009-03-10 18:51 ` Iñaky Pérez-González
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-03-09 23:27 UTC (permalink / raw)
  To: lkml; +Cc: akpm, inaky.perez-gonzalez

From: Randy Dunlap <randy.dunlap@oracle.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@oracle.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);
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -mmotm] wimax: fix i2400m printk formats
  2009-03-09 23:27 [PATCH -mmotm] wimax: fix i2400m printk formats Randy Dunlap
@ 2009-03-10 18:51 ` Iñaky Pérez-González
  0 siblings, 0 replies; 2+ messages in thread
From: Iñaky Pérez-González @ 2009-03-10 18:51 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, akpm

On Monday 09 March 2009, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.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@oracle.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-10 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-09 23:27 [PATCH -mmotm] wimax: fix i2400m printk formats Randy Dunlap
2009-03-10 18:51 ` Iñaky Pérez-González

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®