public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	H Hartley Sweeten <hartleys@visionengravers.com>
Subject: Re: [TRIVIAL PATCH v2] treewide: Convert uses of struct resource to resource_size(ptr)
Date: Thu, 09 Jun 2011 09:09:44 -0700	[thread overview]
Message-ID: <1307635784.13329.4.camel@Joe-Laptop> (raw)
In-Reply-To: <alpine.LNX.2.00.1106091423400.22872@pobox.suse.cz>

On Thu, 2011-06-09 at 14:25 +0200, Jiri Kosina wrote:
> On Tue, 7 Jun 2011, Joe Perches wrote:
> > Several fixes as well where the +1 was missing.
> > Done via coccinelle scripts like:
> > @@
> > struct resource *ptr;
> > @@
> > - ptr->end - ptr->start + 1
> > + resource_size(ptr)
> > and some grep and typing.
> > Mostly uncompiled, no cross-compilers.
> > Some checkpatch complaints cheerfully ignored.
> > Signed-off-by: Joe Perches <joe@perches.com>
> thanks a lot for the patch. I will be happily taking it. However it seems 
> like some of the files are going away/have been moved in -next. Could you 
> please respin on top of what is still applicable on -next and resend? 

Hi Jiri.

The original patch is for next-20110607.
There were 2 identical patches for resource_size
applied to the next tree as of next-20110609.

I just cherry-pick'ed it and the diff is the same
modulo those 2 already applied bits.

Because it's pretty large, I'll send the new diff
just to you off-list.

cheers, Joe


  reply	other threads:[~2011-06-09 16:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06 20:49 [PATCH] dma: mv_xor: use resource_size() H Hartley Sweeten
2011-06-06 21:52 ` [RFC] Convert "resource->end - resource->start + 1" to resource_size(resource) via coccinelle Joe Perches
2011-06-06 21:57   ` H Hartley Sweeten
2011-06-07  1:04     ` [PATCH] treewide: Convert uses of struct resource * to resource_size(ptr) Joe Perches
2011-06-07  1:26       ` Mike Frysinger
2011-06-07 16:31       ` H Hartley Sweeten
2011-06-07 18:27       ` H Hartley Sweeten
2011-06-07 18:35         ` Joe Perches
2011-06-07 21:29         ` [TRIVIAL PATCH v2] treewide: Convert uses of struct resource " Joe Perches
2011-06-09 12:25           ` Jiri Kosina
2011-06-09 16:09             ` Joe Perches [this message]
2011-06-07  5:07   ` [Cocci] [RFC] Convert "resource->end - resource->start + 1" to resource_size(resource) via coccinelle Julia Lawall
2011-06-07  5:32     ` Joe Perches
2011-06-07  5:42       ` Julia Lawall
2011-06-07  7:42         ` Joe Perches
2011-07-13 22:02 ` [PATCH] dma: mv_xor: use resource_size() Koul, Vinod

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=1307635784.13329.4.camel@Joe-Laptop \
    --to=joe@perches.com \
    --cc=hartleys@visionengravers.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox