From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 9 Jan 2018 16:34:16 +0100 From: Greg Kroah-Hartman To: Sakari Ailus Cc: Joe Perches , Don Brace , linux-nvme@lists.infradead.org, Rich Felker , linux-sh@vger.kernel.org, David Airlie , esc.storagedev@microsemi.com, Joonas Lahtinen , Heiko Carstens , alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, Russell King , Keith Busch , Robert Jarzmik , Christoph Hellwig , devel@driverdev.osuosl.org, linux-s390@vger.kernel.org, "James E.J. Bottomley" , Sagi Grimberg , Yoshinori Sato , Takashi Iwai , Sebastian Ott , James Smart , linux-acpi@vger.kernel.org, Zhang Rui , Len Brown , Dick Kennedy , Corey Minyard , linux-pm@vger.kernel.org, Peter Oberparleiter , intel-gfx@lists.freedesktop.org, Haojian Zhuang , Jens Axboe , Mark Brown , Harald Freudenberger , Jani Nikula , Rodrigo Vivi , Jaroslav Kysela , openipmi-developer@lists.sourceforge.net, Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, Alan Cox , Eduardo Valentin , linux-scsi@vger.kernel.org, "Martin K. Petersen" , "Rafael J. Wysocki" , Liam Girdwood , linux-kernel@vger.kernel.org, Arnd Bergmann , Sakari Ailus , Martin Schwidefsky , linux-media@vger.kernel.org, Daniel Mack Subject: Re: [-next PATCH 3/4] treewide: Use DEVICE_ATTR_RO Message-ID: <20180109153416.GA7780@kroah.com> References: <2e64e7d278fa9e4e255221fb84717884a7bfb69c.1513706701.git.joe@perches.com> <20171221093410.ygvupz3azaccxgnb@valkosipuli.retiisi.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171221093410.ygvupz3azaccxgnb@valkosipuli.retiisi.org.uk> User-Agent: Mutt/1.9.2 (2017-12-15) X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Thu, Dec 21, 2017 at 11:34:10AM +0200, Sakari Ailus wrote: > Hi Joe, > > On Tue, Dec 19, 2017 at 10:15:08AM -0800, Joe Perches wrote: > > diff --git a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c b/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c > > index a1c81c12718c..4338b8a1309f 100644 > > --- a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c > > +++ b/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c > > @@ -158,10 +158,10 @@ static ssize_t dynamic_pool_show(struct device *dev, > > return ret; > > }; > > > > -static DEVICE_ATTR(active_bo, 0444, active_bo_show, NULL); > > -static DEVICE_ATTR(free_bo, 0444, free_bo_show, NULL); > > -static DEVICE_ATTR(reserved_pool, 0444, reserved_pool_show, NULL); > > -static DEVICE_ATTR(dynamic_pool, 0444, dynamic_pool_show, NULL); > > +static DEVICE_ATTR_RO(active_bo); > > +static DEVICE_ATTR_RO(free_bo); > > +static DEVICE_ATTR_RO(reserved_pool); > > +static DEVICE_ATTR_RO(dynamic_pool); > > > > static struct attribute *sysfs_attrs_ctrl[] = { > > &dev_attr_active_bo.attr, > > I have the exact same changes queued up in my tree. As there seem to be no > dependencies to other patches in your set, how about dropping this chunk? I've now dropped it, thanks. greg k-h