public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/13] speedtch: Clean up printk()'s in drivers/usb/atm/speedtch.c
@ 2005-03-05 23:37 James Nelson
  2005-03-05 23:37 ` [PATCH 2/13] usbaudio: Clean up printk()'s in drivers/usb/class/audio.c James Nelson
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: James Nelson @ 2005-03-05 23:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, James Nelson

Add a KERN_WARNING constant to a printk() that is missing it, and add a driver
prefix to another two in drivers/usb/atm/speedtch.c

Signed-off-by: James Nelson <james4765@gmail.com>

diff -Nurp -x dontdiff-osdl --exclude='*~' linux-2.6.11-mm1-original/drivers/usb/atm/speedtch.c linux-2.6.11-mm1/drivers/usb/atm/speedtch.c
--- linux-2.6.11-mm1-original/drivers/usb/atm/speedtch.c	2005-03-05 13:29:48.000000000 -0500
+++ linux-2.6.11-mm1/drivers/usb/atm/speedtch.c	2005-03-05 13:36:44.000000000 -0500
@@ -192,8 +192,8 @@ static int speedtch_set_swbuff(struct sp
 			      0x32, 0x40, state ? 0x01 : 0x00,
 			      0x00, NULL, 0, 100);
 	if (ret < 0) {
-		printk("Warning: %sabling SW buffering: usb_control_msg returned %d\n",
-		     state ? "En" : "Dis", ret);
+		printk(KERN_WARNING "%s: %sabling SW buffering: usb_control_msg returned %d\n",
+		     speedtch_driver_name, state ? "En" : "Dis", ret);
 		return ret;
 	}
 
@@ -252,7 +252,8 @@ static int speedtch_start_synchro(struct
 			      0x12, 0xc0, 0x04, 0x00,
 			      buf, sizeof(buf), CTRL_TIMEOUT);
 	if (ret < 0) {
-		printk(KERN_WARNING "SpeedTouch: Failed to start ADSL synchronisation: %d\n", ret);
+		printk(KERN_WARNING "%s: Failed to start ADSL synchronisation: %d\n",
+			speedtch_driver_name, ret);
 		return ret;
 	}
 
@@ -374,8 +375,8 @@ static void speedtch_poll_status(struct 
 
 	ret = speedtch_get_status(instance, buf);
 	if (ret) {
-		printk(KERN_WARNING
-		       "SpeedTouch: Error %d fetching device status\n", ret);
+		printk(KERN_WARNING "%s: Error %d fetching device status\n",
+			speedtch_driver_name, ret);
 		return;
 	}
 

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

end of thread, other threads:[~2005-03-08  3:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-05 23:37 [PATCH 1/13] speedtch: Clean up printk()'s in drivers/usb/atm/speedtch.c James Nelson
2005-03-05 23:37 ` [PATCH 2/13] usbaudio: Clean up printk()'s in drivers/usb/class/audio.c James Nelson
2005-03-05 23:37 ` [PATCH 3/13] usb: Clean up printk()'s in drivers/usb/gadget/ether.c James Nelson
2005-03-05 23:37 ` [PATCH 4/13] lh7a40x_udc: Clean up printk()'s in drivers/usb/gadget/lh7a40x_udc.c James Nelson
2005-03-05 23:37 ` [PATCH 5/13] hc_crisv10: Clean up printk()'s in drivers/usb/host/hc_crisv10.c James Nelson
2005-03-05 23:37 ` [PATCH 6/13] pxa27x-ohci: Clean up printk()'s in drivers/usb/host/ohci-pxa27x.c James Nelson
2005-03-05 23:37 ` [PATCH 7/13] hidcore: Clean up printk()'s in drivers/usb/input/hid-core.c James Nelson
2005-03-05 23:37 ` [PATCH 8/13] powermate: Clean up printk()'s in drivers/usb/input/powermate.c James Nelson
2005-03-05 23:38 ` [PATCH 9/13] vicam: Clean up printk()'s in drivers/usb/media/vicam.c James Nelson
2005-03-05 23:38 ` [PATCH 10/13] uss720: Clean up printk()'s in drivers/usb/misc/uss720.c James Nelson
2005-03-05 23:38 ` [PATCH 11/13] safe_serial: Clean up printk()'s in drivers/usb/serial/safe_serial.c James Nelson
2005-03-06  5:56 ` [PATCH 1/13] speedtch: Clean up printk()'s in drivers/usb/atm/speedtch.c Greg KH
2005-03-06 12:18   ` Jim Nelson
2005-03-07 23:21     ` Greg KH

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