Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

From: Greg Kroah-Hartman
Date: Wed Dec 19 2018 - 10:00:14 EST


On Wed, Dec 19, 2018 at 02:26:22PM +0100, Daniel Vetter wrote:
> On Wed, Dec 19, 2018 at 02:18:25PM +0100, Daniel Vetter wrote:
> > On Wed, Dec 19, 2018 at 01:49:30PM +0100, Greg Kroah-Hartman wrote:
> > > On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote:
> > > > --- a/include/linux/device.h
> > > > +++ b/include/linux/device.h
> > > > @@ -327,6 +327,7 @@ struct driver_attribute {
> > > > #define DRIVER_ATTR_WO(_name) \
> > > > struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
> > > >
> > > > +
> > > > extern int __must_check driver_create_file(struct device_driver *driver,
> > > > const struct driver_attribute *attr);
> > > > extern void driver_remove_file(struct device_driver *driver,
> > > > --
> > >
> > > I'll edit away this last chunk when I apply the patch :)
> >
> > Oops sry. I also forgot to do the s/Locking/Looking/ in the commit message
> > :-/
>
> And I also forgot Rafael's r-b :-(

Ok, rebuilt with both of these things now fixed up, thanks.

greg k-h