On Wed, 31 Mar 2004, Tony Petz wrote: > Having trouble with the third patch: > The first two apply cleanly to 2.6.x kernel, but the third one fails on > 2.6.1-4. Hunk #10 fails at line 256. As far as I can tell the problem > is with two lines of code in config.c. Around lines 266 of the patch, > you see: > > 265 - return -ENOMEM; > 266 - memset(interface, 0, sizeof(struct usb_interface)); > 267 + nintf = USB_MAXINTERFACES; > 268 } > > However, the config.c has: > > 266 return -ENOMEM; > 267 memset(interface, 0, sizeof(struct usb_interface)); > 268 interface->dev.release = usb_release_intf; > 269 device_initialize(&interface->dev); > 270 } > > There are two extra lines not accounted for by the patch, and i think > this is why it fails. Can I remove the lines without breaking the usb > system? Should I leave them in? > > thanks, > tony
Those two extra lines were removed since 2.6.1 was released. If you're patching a 2.6.1 kernel you should leave them in. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
