diff options
| author | Julia Lawall <[email protected]> | 2011-08-20 06:12:39 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2011-08-22 22:28:42 +0000 |
| commit | 5006b313283c56cfda498513b7091692bcd74433 (patch) | |
| tree | cca23211ee397c25bbec4f2da1aced3ba0862ad5 /lib/debugobjects.c | |
| parent | sound/soc/kirkwood/kirkwood-i2s.c: add missing kfree (diff) | |
| download | kernel-5006b313283c56cfda498513b7091692bcd74433.tar.gz kernel-5006b313283c56cfda498513b7091692bcd74433.zip | |
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 <[email protected]>
Acked-by: Alexander Sverdlin <[email protected]>
Reviewed-by: H Hartley Sweeten <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
