From: Haneen Mohammed Date: Wed, 25 Mar 2015 05:07:06 +0000 (+0300) Subject: Staging: rtl8192u: Add space before open parenthesis X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde48b99d23f3f2e0f016d297801e4d5f13297fa;p=pandora-kernel.git Staging: rtl8192u: Add space before open parenthesis Space is required before the open parenthesis. This patch adds space after if to address that issue. This was done with the help of the following Coccinelle script: @r@ position p1,p2; @@ if@p1 (@p2 ...) { ... } @script:python@ p1 << r.p1; p2 << r.p2; @@ l1 = int (p1[0].line) l2 = int (p2[0].line) c1 = int (p1[0].column) c2 = int (p2[0].column) if (l2 == l1 and c1 + 2 != c2): cocci.include_match(False) @@ position r.p1,r.p2; @@ - if@p1 ( + if ( ...) { ... } Signed-off-by: Haneen Mohammed Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed