linux-stable/scripts/coccinelle
Yann Droneaud 6dd9379e8f coccinelle: also catch kzfree() issues
Since commit 3ef0e5ba46 ('slab: introduce kzfree()'),
kfree() is no more the only function to be considered:
kzfree() should be recognized too.

In particular, kzfree() must not be called on memory
allocated through devm_*() functions.

Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
2016-06-21 11:43:32 +02:00
..
api Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2016-05-26 22:32:05 -07:00
free coccinelle: also catch kzfree() issues 2016-06-21 11:43:32 +02:00
iterators scripts/coccinelle: modernize & 2016-02-18 11:49:30 +01:00
locks Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
misc Coccinelle: noderef: Add new rules and correct the old rule 2016-06-20 17:20:13 +02:00
null scripts/coccinelle: fix typos 2015-10-26 22:26:23 +01:00
tests coccinelle: tests: unsigned value cannot be lesser than zero 2016-01-12 17:47:47 +01:00