lkml.org 
[lkml]   [2020]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 10/10] powerpc/powernv: use resource_size
    Date
    On Wed, 2020-01-01 at 17:49:50 UTC, 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>
    >
    > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

    Applied to powerpc next, thanks.

    https://git.kernel.org/powerpc/c/552aa086944a9aeabd599892007c2c7faedb894e

    cheers

    \
     
     \ /
      Last update: 2020-01-29 06:18    [W:4.650 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site