Messages in this thread | | | From | H Hartley Sweeten <> | Date | Tue, 7 Jun 2011 11:31:06 -0500 | Subject | RE: [PATCH] treewide: Convert uses of struct resource * to resource_size(ptr) |
| |
On Monday, June 06, 2011 6:05 PM, Joe Perches wrote: > > Done via coccinelle script: > > struct resource *ptr; > @@ > > - ptr->end - ptr->start + 1 > + resource_size(ptr) > > Mostly uncompiled, not enough cross-compilers. > > Signed-off-by: Joe Perches <joe@perches.com> > --- > >> I think most of the offenders were caught back in late 2009. > > There are quite a few left...
[...]
> arch/arm/plat-mxc/pwm.c | 8 ++++----
No reply on my patch for this one.
> drivers/char/hw_random/timeriomem-rng.c | 2 +-
Matt Mackall already acked my patch for this one. Not sure if anyone picked it up and applied it.
[...]
> drivers/dma/at_hdmac.c | 4 ++-- > drivers/dma/ipu/ipu_idmac.c | 6 ++----
I think Vinod Koul already applied my patches for these two.
> drivers/dma/mv_xor.c | 5 ++--- > drivers/gpio/vr41xx_giu.c | 2 +-
No reply on my patches for these.
[...]
> drivers/misc/atmel_pwm.c | 2 +-
And no reply on my patch for this one.
Your treewide patch can be used instead of my individual patches if it's easier/cleaner.
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
| |