On Fri, Jun 17, 2005 at 06:17:32PM -0400, Alan Stern wrote:
> On Fri, 17 Jun 2005, Greg KH wrote:
> 
> > > --- a/drivers/usb/core/sysfs.c    Mon Jun 13 15:00:06 2005
> > > +++ b/drivers/usb/core/sysfs.c    Thu Jun 16 23:38:29 2005
> > > @@ -286,7 +286,7 @@
> > >  }
> > >  static DEVICE_ATTR(interface, S_IRUGO, show_interface_string, NULL);
> > >  
> > > -static ssize_t show_modalias(struct device *dev, struct device_attribute 
> > > *attr, char *buf)
> > > +static ssize_t show_modalias(struct device *dev, char *buf)
> > >  {
> > >   struct usb_interface *intf;
> > >   struct usb_device *udev;
> > 
> > 
> > No, we need that extra paramater, due to the other changes in my driver
> > git tree.
> > 
> > What tree did you diff this against?
> 
> I made this against 2.6.12-rc6 plus gregkh-04-usb-2.6.12-rc6-git4.  The 
> attribute parameter isn't in the include/linux/device.h prototype and it 
> causes an oops (plus memory corruption) every time the modalias attribute 
> file is accessed.

You need the other 3 gregkh- patches to be applied before the usb one,
due to changes in the driver core.  If you apply them all together, you
don't need your patch.

Care to try them all together?

thanks,

greg k-h


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to