lkml.org 
[lkml]   [2011]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [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>
\
 
 \ /
  Last update: 2011-06-07 18:33    [W:0.078 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site