Re: [PATCH 05/10] powerpc/83xx: use resource_size

2020-01-28 Thread Michael Ellerman
On Wed, 2020-01-01 at 17:49:45 UTC, Julia Lawall wrote: > Use resource_size rather than a verbose computation on > the end and start fields. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > > @@ struct resource ptr; @@ > - (ptr.end - ptr.start + 1)

Re: [PATCH 05/10] powerpc/83xx: use resource_size

2020-01-06 Thread Scott Wood
On Wed, 2020-01-01 at 18:49 +0100, Julia Lawall wrote: > Use resource_size rather than a verbose computation on > the end and start fields. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > > @@ struct resource ptr; @@ > - (ptr.end - ptr.start + 1) >