Re: [RESEND PATCH v2] crypto: cavium: zip: Remove unnecessary parentheses

2018-04-28 Thread Herbert Xu
On Thu, Apr 19, 2018 at 09:19:43PM +0530, Varsha Rao wrote: > This patch fixes the clang warning of extraneous parentheses, with the > following coccinelle script. > > @@ > identifier i; > constant c; > expression e; > @@ > ( > !((e)) > | > -(( > \(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\) >

[RESEND PATCH v2] crypto: cavium: zip: Remove unnecessary parentheses

2018-04-19 Thread Varsha Rao
This patch fixes the clang warning of extraneous parentheses, with the following coccinelle script. @@ identifier i; constant c; expression e; @@ ( !((e)) | -(( \(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\) -)) ) Signed-off-by: Varsha Rao --- Changes in v2: - Modified coccinelle script dri

[PATCH v2] crypto: cavium: zip: Remove unnecessary parentheses

2018-03-31 Thread Varsha Rao
This patch fixes the clang warning of extraneous parentheses, with the following coccinelle script. @@ identifier i; constant c; expression e; @@ ( !((e)) | -(( \(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\) -)) ) Signed-off-by: Varsha Rao --- Changes in v2: - Modified coccinelle script dri