]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IRDA]: fix printk format
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 29 Jun 2007 05:40:23 +0000 (22:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2007 05:40:23 +0000 (22:40 -0700)
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>
drivers/net/irda/irport.c

index 3098960dc2a134ce97df39c125a0ba2492c01b75..3078c419cb02fc7f6abe2534108c3976e127b625 100644 (file)
@@ -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);