lkml.org 
[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 08/16] pinctrl: ssbi-mpp: constify copied structure
    On Wed, Jan 1, 2020 at 9:20 AM Julia Lawall <Julia.Lawall@inria.fr> wrote:

    > The pm8xxx_pinctrl_desc structure is only copied into another structure,
    > so make it const.
    >
    > The opportunity for this change was found using Coccinelle.
    >
    > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

    That's a pretty cool semantic check finding things like this!

    Patch applied.

    Yours,
    Linus Walleij

    \
     
     \ /
      Last update: 2020-01-07 11:44    [W:2.105 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site