linux/drivers/video/msm
Julia Lawall 945903c7a4 drivers/video/msm/mdp.c: adjust error handling code
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>
2011-07-13 16:49:37 +09:00
..
Makefile
mddi_client_dummy.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mddi_client_nt35399.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mddi_client_toshiba.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mddi_hw.h
mddi.c treewide: Fix iomap resource size miscalculations 2011-04-10 17:01:04 +02:00
mdp_csc_table.h
mdp_hw.h msm: mdp: Set the correct pack pattern for XRGB/ARGB 2011-03-08 11:54:46 -08:00
mdp_ppp.c msm: mdp: Add support for RGBX 8888 image format. 2011-03-02 13:43:15 -08:00
mdp_scale_tables.c
mdp_scale_tables.h
mdp.c drivers/video/msm/mdp.c: adjust error handling code 2011-07-13 16:49:37 +09:00
msm_fb.c msm_fb: Fix framebuffer console 2011-03-08 11:54:23 -08:00