Re: [TRIVIAL PATCH v2] treewide: Convert uses of struct resource toresource_size(ptr)

From: Jiri Kosina
Date: Thu Jun 09 2011 - 08:25:45 EST


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@xxxxxxxxxxx>

Hi Joe,

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?

Thanks,

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/