diff options
author | Julia Lawall <julia@diku.dk> | 2011-08-20 08:12:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-22 23:28:42 +0100 |
commit | 5006b313283c56cfda498513b7091692bcd74433 (patch) | |
tree | cca23211ee397c25bbec4f2da1aced3ba0862ad5 /net/x25 | |
parent | 96101bd0bf7974686f6875c065a7a9a83cd2107a (diff) | |
download | linux-5006b313283c56cfda498513b7091692bcd74433.tar.bz2 |
sound/soc/ep93xx/ep93xx-i2s.c: add missing kfree
Introduce a new label that includes kfree and jump to that one.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
identifier x;
expression E1!=0,E2,E3,E4;
statement S;
iterator I;
@@
(
if (...) { ... when != kfree(x)
when != x = E3
when != E3 = x
* return ...;
}
... when != x = E2
when != I(...,x,...) S
if (...) { ... when != x = E4
kfree(x); ... return ...; }
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Alexander Sverdlin <subaparts@yandex.ru>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions