First  |  Prev |  Next  |  Last
Pages: 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
[PATCH 30/42] drivers/net/wireless/prism54: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> Indent the branch of an if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1(a)p1 S2(a)p2 ) @script:python@ p1 << r.p1; p2 << ... 5 Aug 2010 16:54
[PATCH 26/42] drivers/spi: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> The return -EINVAL appears to only make sense if the if branch that it is aligned with is taken, so move it into that branch The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,... 5 Aug 2010 16:54
[PATCH 8/12] scsi: megaraid_sas - Online Controller Reset (OCR): Driver re-issue the pending cmds to FW
RESUBMIT requested by James Bottomley: After OCR finished, driver need to re-issue the pending cmds to FW again. Signed-off-by Bo Yang<bo.yang(a)lsi.com> --- drivers/scsi/megaraid/megaraid_sas.c | 81 ++++++++++++++++++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff -rupN old/driver... 5 Aug 2010 16:54
[PATCH 10/42] drivers/mmc/host: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> Move the second if (reg & ...) test into the branch indicated by its indentation. The test was previously always executed after the if containing that branch, but it was always false unless the if branch was taken. The semantic match that finds this problem is as follows: (... 5 Aug 2010 16:54
[PATCH 24/42] drivers/platform/x86: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> The assignment of ret to -EIO appears to only make sense if the branch that it is aligned with is executed, so move it into that branch. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; s... 5 Aug 2010 16:54
[PATCH 17/42] drivers/net/irda: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> Indent the branch of an if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1(a)p1 S2(a)p2 ) @script:python@ p1 << r.p1; p2 << ... 5 Aug 2010 16:54
[PATCH 19/42] drivers/media/video: Adjust confusing if indentation
From: Julia Lawall <julia(a)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:... 5 Aug 2010 16:54
[PATCH 31/42] drivers/net: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> Outdent the code following the if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1(a)p1 S2(a)p2 ) @script:python@ p1 << r.p1; ... 5 Aug 2010 16:54
[PATCH 25/42] drivers/gpu/drm/radeon: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> Outdent the code following the if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1(a)p1 S2(a)p2 ) @script:python@ p1 << r.p1; ... 5 Aug 2010 16:54
[PATCH 12/42] drivers/char/synclink.c: Adjust confusing if indentation
From: Julia Lawall <julia(a)diku.dk> Indent the branch of an if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1(a)p1 S2(a)p2 ) @script:python@ p1 << r.p1; p2 << ... 5 Aug 2010 16:54
First  |  Prev |  Next  |  Last
Pages: 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181