On Wed, 7 Oct 2009, Jean-Denis Girard wrote: > Hi, > > I got the following problem with Inside Out Edgeport USB serial adapter > while rebooting to 2.6.31.2. > adapter converter detected > Oct 7 05:48:46 tiare kernel: EXT4-fs (dm-0): internal journal on dm-0:8 > Oct 7 05:48:46 tiare kernel: usb 2-2.1: firmware: requesting > edgeport/down3.bin > Oct 7 05:48:46 tiare kernel: BUG: unable to handle kernel NULL pointer > dereference at 0000000000000080 > Oct 7 05:48:46 tiare kernel: IP: [<ffffffffa01d1aac>] > edge_release+0x2c/0x80 [io_ti] This patch should help. Alan Stern Index: 2.6.31/drivers/usb/serial/usb-serial.c =================================================================== --- 2.6.31.orig/drivers/usb/serial/usb-serial.c +++ 2.6.31/drivers/usb/serial/usb-serial.c @@ -926,8 +926,10 @@ int usb_serial_probe(struct usb_interfac __func__, max_endpoints); for (i = 0; i < max_endpoints; ++i) { port = kzalloc(sizeof(struct usb_serial_port), GFP_KERNEL); - if (!port) + if (!port) { + serial->num_ports = i; goto probe_error; + } tty_port_init(&port->port); port->port.ops = &serial_port_ops; port->serial = serial; -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html