All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Don Brace <don.brace@microsemi.com>,
	alsa-devel@alsa-project.org, Rich Felker <dalias@libc.org>,
	linux-sh@vger.kernel.org, David Airlie <airlied@linux.ie>,
	Sebastian Ott <sebott@linux.vnet.ibm.com>,
	Heiko Carstens <heiko.carstens@de.ibm.com>,
	linux-nvme@lists.infradead.org,
	James Smart <james.smart@broadcom.com>,
	Keith Busch <keith.busch@intel.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	Christoph Hellwig <hch@lst.de>,
	devel@driverdev.osuosl.org, linux-s390@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
	Sagi Grimberg <sagi@grimberg.me>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	esc.storagedev@microsemi.com,
	Russell King <linux@armlinux.org.uk>,
	linux-acpi@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>,
	Len Brown <lenb@kernel.org>,
	Dick Kennedy <dick.kennedy@broadcom.com>,
	Corey Minyard <minyard@acm.or>
Subject: Re: [-next PATCH 3/4] treewide: Use DEVICE_ATTR_RO
Date: Tue, 9 Jan 2018 16:34:16 +0100	[thread overview]
Message-ID: <20180109153416.GA7780@kroah.com> (raw)
In-Reply-To: <20171221093410.ygvupz3azaccxgnb@valkosipuli.retiisi.org.uk>

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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Joe Perches <joe@perches.com>,
	Don Brace <don.brace@microsemi.com>,
	linux-nvme@lists.infradead.org, Rich Felker <dalias@libc.org>,
	linux-sh@vger.kernel.org, David Airlie <airlied@linux.ie>,
	esc.storagedev@microsemi.com,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Heiko Carstens <heiko.carstens@de.ibm.com>,
	alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org,
	Russell King <linux@armlinux.org.uk>,
	Keith Busch <keith.busch@intel.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	Christoph Hellwig <hch@lst.de>,
	devel@driverdev.osuosl.org, linux-s390@vger.kernel.org,
	"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
	Sagi Grimberg <sagi@grimberg.me>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Takashi Iwai <tiwai@suse.com>,
	Sebastian Ott <sebott@linux.vnet.ibm.com>,
	James Smart <james.smart@broadcom.com>,
	linux-acpi@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>,
	Len Brown <lenb@kernel.org>,
	Dick Kennedy <dick.kennedy@broadcom.com>,
	Corey Minyard <minyard@acm.org>,
	linux-pm@vger.kernel.org,
	Peter Oberparleiter <oberpar@linux.vnet.ibm.com>,
	intel-gfx@lists.freedesktop.org,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Jens Axboe <axboe@fb.com>, Mark Brown <broonie@kernel.org>,
	Harald Freudenberger <freude@de.ibm.com>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Jaroslav Kysela <perex@perex.cz>,
	openipmi-developer@lists.sourceforge.net,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Alan Cox <alan@linux.intel.com>,
	Eduardo Valentin <edubezval@gmail.com>,
	linux-scsi@vger.kernel.org,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Liam Girdwood <lgirdwood@gmail.com>,
	linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	linux-media@vger.kernel.org, Daniel Mack <daniel@zonque.org>
Subject: Re: [-next PATCH 3/4] treewide: Use DEVICE_ATTR_RO
Date: Tue, 9 Jan 2018 16:34:16 +0100	[thread overview]
Message-ID: <20180109153416.GA7780@kroah.com> (raw)
In-Reply-To: <20171221093410.ygvupz3azaccxgnb@valkosipuli.retiisi.org.uk>

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

  reply	other threads:[~2018-01-09 15:34 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 18:15 [-next PATCH 0/4] sysfs and DEVICE_ATTR_<foo> Joe Perches
2017-12-19 18:15 ` Joe Perches
2017-12-19 18:15 ` Joe Perches
2017-12-19 18:15 ` Joe Perches
2017-12-19 18:15 ` Joe Perches
2017-12-19 18:15 ` [-next PATCH 1/4] sysfs.h: Use octal permissions Joe Perches
2017-12-19 18:15 ` [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW Joe Perches
2017-12-19 18:15   ` Joe Perches
2017-12-19 18:15   ` [-next,2/4] " Joe Perches
2017-12-19 18:15   ` [-next PATCH 2/4] " Joe Perches
2017-12-19 18:41   ` Andy Shevchenko
2017-12-19 18:41     ` Andy Shevchenko
2017-12-19 18:41     ` [-next,2/4] " Andy Shevchenko
2017-12-19 18:41     ` [-next PATCH 2/4] " Andy Shevchenko
2017-12-20  7:19     ` [alsa-devel] " Jidong Zhang
2017-12-20  8:34   ` Jarkko Nikula
2017-12-20  8:34     ` Jarkko Nikula
2017-12-20  8:34     ` [-next,2/4] " Jarkko Nikula
2017-12-20  8:34     ` [-next PATCH 2/4] " Jarkko Nikula
2017-12-20  9:24     ` Joe Perches
2017-12-20  9:24       ` Joe Perches
2017-12-20  9:24       ` [-next,2/4] " Joe Perches
2017-12-20  9:24       ` [-next PATCH 2/4] " Joe Perches
2017-12-20  9:32       ` Greg Kroah-Hartman
2017-12-20  9:32         ` Greg Kroah-Hartman
2017-12-20  9:32         ` [-next,2/4] " Greg Kroah-Hartman
2017-12-20  9:32         ` [-next PATCH 2/4] " Greg Kroah-Hartman
2017-12-20  9:54         ` Joe Perches
2017-12-20  9:54           ` Joe Perches
2017-12-20  9:54           ` [-next,2/4] " Joe Perches
2017-12-20  9:54           ` [-next PATCH 2/4] " Joe Perches
2017-12-20  9:59           ` Greg Kroah-Hartman
2017-12-20  9:59             ` Greg Kroah-Hartman
2017-12-20  9:59             ` [-next,2/4] " Greg Kroah-Hartman
2017-12-20  9:59             ` [-next PATCH 2/4] " Greg Kroah-Hartman
2017-12-20 10:55             ` Joe Perches
2017-12-20 10:55               ` Joe Perches
2017-12-20 10:55               ` [-next,2/4] " Joe Perches
2017-12-20 10:55               ` [-next PATCH 2/4] " Joe Perches
2017-12-20 13:26               ` Julia Lawall
2017-12-20 13:26                 ` Julia Lawall
2017-12-20 13:26                 ` [-next,2/4] " Julia Lawall
2017-12-20 13:26                 ` [-next PATCH 2/4] " Julia Lawall
2017-12-20 10:54         ` Jarkko Nikula
2017-12-20 10:54           ` Jarkko Nikula
2017-12-20 10:54           ` [-next,2/4] " Jarkko Nikula
2017-12-20 10:54           ` [-next PATCH 2/4] " Jarkko Nikula
2018-01-10 14:43           ` Peter Ujfalusi
2018-01-10 14:43             ` Peter Ujfalusi
2018-01-10 14:43             ` [-next,2/4] " Peter Ujfalusi
2018-01-10 14:43             ` [-next PATCH 2/4] " Peter Ujfalusi
2017-12-21  0:47   ` Zhang Rui
2017-12-21  0:47     ` Zhang Rui
2017-12-21  0:47     ` [-next,2/4] " Zhang, Rui
2017-12-21  0:47     ` [-next PATCH 2/4] " Zhang Rui
2018-01-03 15:16   ` Bartlomiej Zolnierkiewicz
2018-01-03 15:16     ` Bartlomiej Zolnierkiewicz
2018-01-03 15:16     ` [-next,2/4] " Bartlomiej Zolnierkiewicz
2018-01-03 15:16     ` [-next PATCH 2/4] " Bartlomiej Zolnierkiewicz
2017-12-19 18:15 ` [-next PATCH 3/4] treewide: Use DEVICE_ATTR_RO Joe Perches
2017-12-19 18:15   ` Joe Perches
2017-12-19 18:15   ` Joe Perches
2017-12-20 19:00   ` Rafael J. Wysocki
2017-12-20 20:26     ` Sagi Grimberg
2017-12-20 21:38     ` Robert Jarzmik
2017-12-21  0:48   ` Zhang Rui
2017-12-21  0:48     ` Zhang Rui
2017-12-21  0:48     ` Zhang Rui
2017-12-21  7:55   ` Harald Freudenberger
2017-12-21  9:34   ` Sakari Ailus
2018-01-09 15:34     ` Greg Kroah-Hartman [this message]
2018-01-09 15:34       ` Greg Kroah-Hartman
2017-12-19 18:15 ` [-next PATCH 4/4] treewide: Use DEVICE_ATTR_WO Joe Perches
2017-12-19 18:44   ` Borislav Petkov
2017-12-19 18:44     ` Borislav Petkov
2017-12-19 18:44     ` Borislav Petkov
2017-12-19 18:51     ` Joe Perches
2017-12-19 18:51       ` Joe Perches
2017-12-19 18:51       ` Joe Perches
2017-12-19 18:51       ` Joe Perches
2017-12-19 18:54       ` Borislav Petkov
2017-12-19 18:54         ` Borislav Petkov
2017-12-19 18:54         ` Borislav Petkov
2017-12-21  0:50   ` Zhang Rui
2017-12-21  0:50     ` Zhang Rui
2017-12-19 18:54 ` [-next PATCH 0/4] sysfs and DEVICE_ATTR_<foo> Jani Nikula
2017-12-19 18:54   ` Jani Nikula
2017-12-19 18:54   ` Jani Nikula
2017-12-19 18:54   ` Jani Nikula
2017-12-19 19:26 ` Corey Minyard
2017-12-19 19:26   ` Corey Minyard
2017-12-19 19:26   ` Corey Minyard
2017-12-19 19:26   ` Corey Minyard
2017-12-19 19:26   ` Corey Minyard
2017-12-20  9:46 ` Felipe Balbi
2017-12-20  9:46   ` Felipe Balbi
2017-12-20  9:46   ` Felipe Balbi
2017-12-20  9:46   ` Felipe Balbi
2017-12-20  9:46   ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180109153416.GA7780@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=airlied@linux.ie \
    --cc=alsa-devel@alsa-project.org \
    --cc=dalias@libc.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=dick.kennedy@broadcom.com \
    --cc=don.brace@microsemi.com \
    --cc=esc.storagedev@microsemi.com \
    --cc=hch@lst.de \
    --cc=heiko.carstens@de.ibm.com \
    --cc=james.smart@broadcom.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=keith.busch@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mchehab@kernel.org \
    --cc=minyard@acm.or \
    --cc=robert.jarzmik@free.fr \
    --cc=rui.zhang@intel.com \
    --cc=sagi@grimberg.me \
    --cc=sakari.ailus@iki.fi \
    --cc=sebott@linux.vnet.ibm.com \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.