lkml.org 
[lkml]   [2016]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.13.y-ckt 11/97] scripts/coccinelle: modernize &
    Date
    3.13.11-ckt38 -stable review patch.  If anyone has any objections, please let me know.

    ---8<------------------------------------------------------------

    From: Julia Lawall <Julia.Lawall@lip6.fr>

    commit 1b669e713f277a4d4b3cec84e13d16544ac8286d upstream.

    & is no longer allowed in column 0, since Coccinelle 1.0.4.

    Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
    Tested-by: Nishanth Menon <nm@ti.com>
    Signed-off-by: Michal Marek <mmarek@suse.com>
    Signed-off-by: Kamal Mostafa <kamal@canonical.com>
    ---
    scripts/coccinelle/iterators/use_after_iter.cocci | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/scripts/coccinelle/iterators/use_after_iter.cocci b/scripts/coccinelle/iterators/use_after_iter.cocci
    index f085f59..ce8cc9c 100644
    --- a/scripts/coccinelle/iterators/use_after_iter.cocci
    +++ b/scripts/coccinelle/iterators/use_after_iter.cocci
    @@ -123,7 +123,7 @@ list_remove_head(x,c,...)
    |
    sizeof(<+...c...+>)
    |
    -&c->member
    + &c->member
    |
    c = E
    |
    --
    2.7.4
    \
     
     \ /
      Last update: 2016-04-05 02:21    [W:7.254 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site