patch-2.4.23 linux-2.4.23/drivers/net/irda/irda-usb.c

Next file: linux-2.4.23/drivers/net/irda/ma600.c
Previous file: linux-2.4.23/drivers/net/irda/act200l.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/net/irda/irda-usb.c linux-2.4.23/drivers/net/irda/irda-usb.c
@@ -339,7 +339,7 @@
 	int res, mtt;
 	int	err = 1;	/* Failed */
 
-	IRDA_DEBUG(4, __FUNCTION__ "() on %s\n", netdev->name);
+	IRDA_DEBUG(4, "%s() on %s\n",  __FUNCTION__, netdev->name);
 
 	netif_stop_queue(netdev);
 
@@ -542,7 +542,7 @@
 		    (self->new_xbofs != self->xbofs)) {
 			/* We haven't changed speed yet (because of
 			 * IUC_SPEED_BUG), so do it now - Jean II */
-			IRDA_DEBUG(1, __FUNCTION__ "(), Changing speed now...\n");
+			IRDA_DEBUG(1, "%s(), Changing speed now...\n", __FUNCTION__);
 			irda_usb_change_speed_xbofs(self);
 		} else {
 			/* New speed and xbof is now commited in hardware */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)