Re: BUG: unable to handle kernel paging request in usb_match_id()

From: BjÃrn Mork
Date: Fri Aug 17 2012 - 04:52:40 EST


Fengguang Wu <fengguang.wu@xxxxxxxxx> writes:

> @@ -779,6 +780,7 @@ static int usb_device_match(struct devic
> intf = to_usb_interface(dev);
> usb_drv = to_usb_driver(drv);
>
> + pr_info("%s: device %s, driver %s \n", __func__, dev_name(dev), drv->name);
> id = usb_match_id(intf, usb_drv->id_table);
> if (id)
> return 1;
> [ 1.397745] usb_match_id: id=c1d80820 idVendor=0x18f3 idProduct=0x220
> [ 1.398834] usbcore: registered new interface driver dvb_usb_dtt200u
> [ 1.399943] usb_device_match: device 1-0:1.0, driver dvb_usb_nova_t_usb2
> [ 1.401095] usb_match_id: id=c1d81b6c idVendor=0x2040 idProduct=0x9300
> [ 1.402195] usb_match_id: id=c1d81b84 idVendor=0x2040 idProduct=0x9301
> [ 1.403270] usbcore: registered new interface driver dvb_usb_nova_t_usb2
> [ 1.404158] usb_device_match: device 1-0:1.0, driver dvb_usb_umt_010
> [ 1.404861] usb_match_id: id=c1d824f4 idVendor=0x15f4 idProduct=0x1
> [ 1.405547] usb_match_id: id=c1d8250c idVendor=0x15f4 idProduct=0x15
> [ 1.406326] usbcore: registered new interface driver dvb_usb_umt_010
> [ 1.407190] usb_device_match: device 1-0:1.0, driver dvb_usb_gl861

Why is dev_name(dev) constant here? That seems more than odd to me. Is
this really the same interface matching all these drivers?



BjÃrn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/