linux/drivers/staging/msm
Julia Lawall 3073acd61c staging: msm/lcdc.c: Convert IS_ERR result to PTR_ERR
This code elsewhere returns a negative constant to an indicate an error,
while IS_ERR returns the result of a >= operation.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x;
@@

 if (...) { ...
- return IS_ERR(x);
+ return PTR_ERR(x);
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-31 13:44:05 -08:00
..
Kconfig staging: msm: remove video drivers for obsolete platforms 2010-07-26 15:39:31 -07:00
Makefile Staging: msm: Makefile: replace the use of <module>-objs with <module>-y 2010-11-09 15:17:17 -08:00
TODO
ebi2_l2f.c
ebi2_lcd.c
ebi2_tmd20.c
hdmi_sii9022.c
lcdc.c staging: msm/lcdc.c: Convert IS_ERR result to PTR_ERR 2011-01-31 13:44:05 -08:00
lcdc_external.c
lcdc_gordon.c
lcdc_panel.c
lcdc_prism.c
lcdc_sharp_wvga_pt.c
lcdc_st15.c
lcdc_toshiba_wvga_pt.c drivers/staging: Remove unnecessary semicolons 2010-11-16 12:06:47 -08:00
logo.c
mddi.c
mddi_ext.c
mddi_ext_lcd.c
mddi_prism.c
mddi_sharp.c
mddi_toshiba.c
mddi_toshiba.h
mddi_toshiba_vga.c
mddi_toshiba_wvga_pt.c
mddihost.c staging: Bulk convert the semaphore mess 2010-09-07 19:31:32 -07:00
mddihost.h
mddihost_e.c
mddihosti.c
mddihosti.h
mdp.c staging: Bulk convert the semaphore mess 2010-09-07 19:31:32 -07:00
mdp.h
mdp4.h
mdp4_debugfs.c Staging: use llseek in all file operations 2010-07-08 13:57:58 -07:00
mdp4_overlay.c staging: msm: formatting of pointers in printk() 2010-07-22 12:10:39 -07:00
mdp4_overlay_lcdc.c
mdp4_overlay_mddi.c
mdp4_util.c
mdp_cursor.c
mdp_dma.c
mdp_dma_lcdc.c
mdp_dma_s.c
mdp_dma_tv.c
mdp_hw_init.c
mdp_ppp.c
mdp_ppp_dq.c
mdp_ppp_dq.h
mdp_ppp_v20.c
mdp_ppp_v31.c
mdp_vsync.c
memory.c
memory_ll.h
msm_fb.c staging: Final semaphore cleanup 2010-10-30 12:12:50 +02:00
msm_fb.h
msm_fb_bl.c backlight: constify backlight_ops 2010-11-16 14:14:02 +01:00
msm_fb_def.h
msm_fb_panel.c
msm_fb_panel.h
msm_mdp.h
staging-devices.c staging: msm: Remove pr_<level> uses of KERN_<level> 2010-09-16 12:37:36 -07:00
tv_ntsc.c
tv_pal.c
tvenc.c staging: msm: tvenc: fix error handling 2010-11-29 11:38:50 -08:00
tvenc.h