On Wed, 1 Jan 2020, Takashi Iwai wrote:
On Wed, 01 Jan 2020 18:49:42 +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/)
<smpl> @@ struct resource *ptr; @@ - ((ptr->end) - (ptr->start) + 1) + resource_size(ptr) </smpl>
Signed-off-by: Julia Lawall Julia.Lawall@inria.fr
Unfortunately this doesn't apply cleanly on my tree. I guess you worked on linux-next which contains a change outside the sound git tree that converts ioremap_nocache() to ioremap().
We may apply it in sound git tree and let conflicts resolved at the merge time. OTOH, it's no urgent fix at all and can be postponed after 5.6-rc1 merge, too -- then everything can be applied in a cleaner way.
Let me know your preference.
It's from linux-next. No hurry. Postponing it is fine.
thanks, julia