Re: [Cocci] [PATCH] scripts/coccinelle: modernize

2016-02-17 Thread Nishanth Menon
.cocci > @@ -123,7 +123,7 @@ list_remove_head(x,c,...) > | > sizeof(<+...c...+>) > | > ->member > + >member > | > c = E > | > Verified with: spatch --version spatch byte-code version 1.0.4-00118-gc7cf750d1c44 compiled with

[Cocci] pm_runtime functions and IS_ERR_VALUE (was Re: [PATCH v6] ARM: omap: edma: add suspend suspend/resume hooks)

2013-11-27 Thread Nishanth Menon
and fixing the ones we already have, how about something like the following patch? For example, on 3.13-rc1, with omap2plus_defconfig, I see the following: http://pastebin.mozilla.org/3681911 --8-- From b7946d214fab72b2e18cd67eec01c377f1cddee8 Mon Sep 17 00:00:00 2001 From: Nishanth Menon n...@ti.com