Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f021217 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller
Browse files

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 17200811
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -509,7 +509,7 @@ static void irport_timeout(struct net_device *dev)
	IRDA_DEBUG(0, "%s(), iir=%02x, lsr=%02x, iobase=%#x\n", 
	IRDA_DEBUG(0, "%s(), iir=%02x, lsr=%02x, iobase=%#x\n", 
		   __FUNCTION__, iir, lsr, iobase);
		   __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,
		   __FUNCTION__, self->transmitting, self->tx_buff.len,
		   self->tx_buff.data - self->tx_buff.head);
		   self->tx_buff.data - self->tx_buff.head);