lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wr0xnbnm.fsf@nemi.mork.no>
Date:	Fri, 17 Aug 2012 10:52:13 +0200
From:	Bjørn Mork <bjorn@...k.no>
To:	Fengguang Wu <fengguang.wu@...el.com>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Alan Stern <stern@...land.harvard.edu>,
	Oliver Neukum <oneukum@...e.de>,
	Sarah Sharp <sarah.a.sharp@...ux.intel.com>,
	linux-kernel@...r.kernel.org,
	"linux-usb\@vger.kernel.org" <linux-usb@...r.kernel.org>,
	"Lan\, Tianyu" <tianyu.lan@...el.com>
Subject: Re: BUG: unable to handle kernel paging request in usb_match_id()

Fengguang Wu <fengguang.wu@...el.com> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ