Messages in this thread | | | Date | Tue, 17 Jun 2014 22:45:49 +0200 | From | SF Markus Elfring <> | Subject | Re: [PATCH 1/1] scripts/coccinelle/free: add conditional kfree test |
| |
>> This patch adds a trivial script warning on >> >> if(foo) >> kfree(foo) [...] > You should probably add all of the unnecessary > conditional tests that checkpatch uses: [...]
Would you like to look at my previous update suggestion "Deletion of unnecessary checks before specific function calls" again? https://systeme.lip6.fr/pipermail/cocci/2014-March/000675.html https://lkml.org/lkml/2014/3/5/344
Regards, Markus
| |