summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-06-28 22:40:23 -0700
committerDavid S. Miller <davem@davemloft.net>2007-06-28 22:40:23 -0700
commit5f0212174db33828f8bddcff501b73d2bc734f72 (patch)
treebe16c12f02d49e761b3acb9e73b7997bcf9707aa /drivers/net/irda
parent17200811cf539b9107a99a39bf71ba3567966285 (diff)
downloadblackbird-op-linux-5f0212174db33828f8bddcff501b73d2bc734f72.tar.gz
blackbird-op-linux-5f0212174db33828f8bddcff501b73d2bc734f72.zip
[IRDA]: fix printk format
Fix printk format warning: drivers/net/irda/irport.c:512: warning: format '%d' expects type 'int', but argument 5 has type 'long int' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r--drivers/net/irda/irport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/irport.c b/drivers/net/irda/irport.c
index 3098960dc2a1..3078c419cb02 100644
--- a/drivers/net/irda/irport.c
+++ b/drivers/net/irda/irport.c
@@ -509,7 +509,7 @@ static void irport_timeout(struct net_device *dev)
IRDA_DEBUG(0, "%s(), iir=%02x, lsr=%02x, iobase=%#x\n",
__FUNCTION__, iir, lsr, iobase);
- IRDA_DEBUG(0, "%s(), transmitting=%d, remain=%d, done=%d\n",
+ IRDA_DEBUG(0, "%s(), transmitting=%d, remain=%d, done=%td\n",
__FUNCTION__, self->transmitting, self->tx_buff.len,
self->tx_buff.data - self->tx_buff.head);
OpenPOWER on IntegriCloud