From: Daniel Vetter Subject: Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files Date: Wed, 19 Dec 2018 14:26:22 +0100 Message-ID: <20181219132622.GX21184@phenom.ffwll.local> References: <20181218201443.4950-1-daniel.vetter@ffwll.ch> <20181219123909.28754-1-daniel.vetter@ffwll.ch> <20181219124930.GA22496@kroah.com> <20181219131825.GV21184@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20181219131825.GV21184@phenom.ffwll.local> Sender: linux-kernel-owner@vger.kernel.org To: Greg Kroah-Hartman Cc: Daniel Vetter , DRI Development , Intel Graphics Development , LKML , "Rafael J. Wysocki" , Ramalingam C , Arend van Spriel , Andy Shevchenko , Geert Uytterhoeven , Bartosz Golaszewski , Heikki Krogerus , Vivek Gautam , Joe Perches , Daniel Vetter List-Id: dri-devel@lists.freedesktop.org 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 :-( -Daniel > > > > thanks for making the changes. > > > > greg k-h > > Thanks, Daniel > > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch