[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180428082513.2qkirpburohorkxx@gondor.apana.org.au>
Date: Sat, 28 Apr 2018 16:25:13 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Varsha Rao <rvarsha016@...il.com>
Cc: Julia Lawall <julia.lawall@...6.fr>, Joe Perches <joe@...ches.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
cocci <cocci@...teme.lip6.fr>,
"David S. Miller" <davem@...emloft.net>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Nicholas Mc Guire <der.herr@...r.at>
Subject: Re: [RESEND PATCH v2] crypto: cavium: zip: Remove unnecessary
parentheses
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\)
> -))
> )
>
> Signed-off-by: Varsha Rao <rvarsha016@...il.com>
> ---
> Changes in v2:
> - Modified coccinelle script
>
> drivers/crypto/cavium/zip/zip_regs.h | 42 ++++++++++++++++++------------------
> 1 file changed, 21 insertions(+), 21 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists