[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e18d227.1c69fb81.44066.9d0d@mx.google.com>
Date: Fri, 10 Jan 2020 11:36:06 -0800
From: Paul Burton <paulburton@...nel.org>
To: Julia Lawall <Julia.Lawall@...ia.fr>
CC: linux-mips@...r.kernel.org
Subject: Re: [PATCH 08/10] MIPS: use resource_size
Hello,
Julia Lawall wrote:
> Use resource_size rather than a verbose computation on
> the end and start fields.
>
> The semantic patch that makes these changes is as follows:
> (http://coccinelle.lip6.fr/)
>
> <smpl>
> @@ struct resource ptr; @@
> - (ptr.end - ptr.start + 1)
> + resource_size(&ptr)
> </smpl>
Applied to mips-next.
> commit ecb983790fe8
> https://git.kernel.org/mips/c/ecb983790fe8
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@...at.org>
> Signed-off-by: Paul Burton <paulburton@...nel.org>
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paulburton@...nel.org to report it. ]
Powered by blists - more mailing lists