On 1/3/06, Pete Zaitcev <[EMAIL PROTECTED]> wrote:
> On Tue, 3 Jan 2006 01:47:46 -0500, Dmitry Torokhov <[EMAIL PROTECTED]> wrote:
>
> > +static int __init obsolete_checksetup(char *line, int len)
> > -             int n = strlen(p->str);
> > -             if (!strncmp(line, p->str, n)) {
> > +             if (!strncmp(line, p->str, len) && len == strlen(p->str)) {
>
> This looks like it should work, with the disclaimer that I am not
> infallible.
>

;)

> But even if it does, my patch saved reading, so I think it should be
> applied as well.

What you mean by "saved reading"?

Btw, do we really need to export "nousb" in sysfs?

--
Dmitry


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to