patch-2.3.42 linux/drivers/usb/usb-serial.c

Next file: linux/drivers/usb/usb-uhci-debug.h
Previous file: linux/drivers/usb/usb-core.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.41/linux/drivers/usb/usb-serial.c linux/drivers/usb/usb-serial.c
@@ -996,7 +996,7 @@
 //	dbg("whiteheat_writememory %x, %d", address, length);
 
 	if (!transfer_buffer) {
-		err("whiteheat_writememory: kmalloc(%d) failed.\n", length);
+		err("whiteheat_writememory: kmalloc(%d) failed.", length);
 		return -ENOMEM;
 	}
 	memcpy (transfer_buffer, data, length);
@@ -1078,7 +1078,7 @@
 		response = whiteheat_writememory (serial, record->address, 
 				(unsigned char *)record->data, record->data_size, 0xa0);
 		if (response < 0) {
-			err("whiteheat_writememory failed for second firmware step (%d %04X %p %d)\n", 
+			err("whiteheat_writememory failed for second firmware step (%d %04X %p %d)", 
 				response, record->address, record->data, record->data_size);
 			break;
 		}
@@ -1127,7 +1127,7 @@
 	dbg("visor_serial_close port %d", port);
 			 
 	if (!transfer_buffer) {
-		err("visor_serial_close: kmalloc(%d) failed.\n", 0x12);
+		err("visor_serial_close: kmalloc(%d) failed.", 0x12);
 	} else {
 		/* send a shutdown message to the device */
 		usb_control_msg (serial->dev, usb_rcvctrlpipe(serial->dev, 0), VISOR_CLOSE_NOTIFICATION,
@@ -1175,7 +1175,7 @@
 	unsigned char *transfer_buffer =  kmalloc (256, GFP_KERNEL);
 
 	if (!transfer_buffer) {
-		err("visor_startup: kmalloc(%d) failed.\n", 256);
+		err("visor_startup: kmalloc(%d) failed.", 256);
 		return -ENOMEM;
 	}
 

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