Tag: 473d80247332b818caf6d25ed3eaaa10d3dfcfb7

V4L/DVB: drivers/media/video: Adjust confusing if indentation

Author: Julia Lawall <julia@diku.dk> In cx23885/cx23885-video.c, cx88/cx88-video.c, davinci/vpif_capture.c, and davinci/vpif_display.c, group the aligned code into a single if branch. In saa7134/saa7134-video.c, outdent the code following the if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (…) { … } | if …

Continue reading