mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
945903c7a4
Use the error handling code at the end of the function, rather than returning directly. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier x; @@ kfree(x) @@ identifier r.x; expression E1!=0,E2,E3,E4; statement S; @@ ( if (<+...x...+>) S | if (...) { ... when != kfree(x) when != if (...) { ... kfree(x); ... } when != x = E3 * return E1; } ... when != x = E2 if (...) { ... when != x = E4 kfree(x); ... return ...; } ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Paul Mundt <lethal@linux-sh.org> |
||
---|---|---|
.. | ||
Makefile | ||
mddi_client_dummy.c | ||
mddi_client_nt35399.c | ||
mddi_client_toshiba.c | ||
mddi_hw.h | ||
mddi.c | ||
mdp_csc_table.h | ||
mdp_hw.h | ||
mdp_ppp.c | ||
mdp_scale_tables.c | ||
mdp_scale_tables.h | ||
mdp.c | ||
msm_fb.c |