Re: [patch 03/16] usb: usb_get_configuration() obeys authorization

Inaky Perez-Gonzalez <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Intel Corporation
Message-ID <[email protected]>
On Tuesday 17 July 2007, Greg KH wrote:
> > +	if (dev->authorized == 0)
> > +		goto out_not_authorized;
> 
> So far in this sequence of patches, nothing has set ->authorized to
> anything other than 0, so this will break all existing USB devices,
> right?
> 
> If so, care to reorder these patches so that nothing breaks if you
> bisect them?

Good point, sorry for not realizing such a no-brainer.

Just moving these four guys:

01-usb-usb-set-configuration-obeys-authorization.patch
02-usb-usb-get-configuration-obeys-authorization.patch
03-usb-usb-probe-interface-obeys-authorization.patch
04-usb-generic-probe-obeys-authorization.patch

right after patch #8 does it. It'll be ordered like that as soon as
I send the updated patchset.

-- Inaky

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.