patch-2.4.11-dontuse linux/drivers/usb/serial/cyberjack.c

Next file: linux/drivers/usb/serial/io_edgeport.c
Previous file: linux/drivers/usb/serial/belkin_sa.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/drivers/usb/serial/cyberjack.c linux/drivers/usb/serial/cyberjack.c
@@ -309,16 +309,16 @@
 	struct usb_serial *serial;
 	unsigned char *data = urb->transfer_buffer;
 
+	if (port_paranoia_check (port, __FUNCTION__)) return;
+
 	dbg(__FUNCTION__ " - port %d", port->number);
 
 	/* the urb might have been killed. */
 	if (urb->status)
 		return;
 
-	if (port_paranoia_check (port, "cyberjack_read_interrupt")) return;
-
 	serial = port->serial;
-	if (serial_paranoia_check (serial, "cyberjack_read_interrupt")) return;
+	if (serial_paranoia_check (serial, __FUNCTION__)) return;
 
 	usb_serial_debug_data (__FILE__, __FUNCTION__, urb->actual_length, data);
 

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