From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Subject: Re: [RESEND PATCH v2] crypto: cavium: zip: Remove unnecessary parentheses Date: Sat, 28 Apr 2018 16:25:13 +0800 Message-ID: <20180428082513.2qkirpburohorkxx@gondor.apana.org.au> References: <20180419154943.21983-1-rvarsha016@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Julia Lawall , Joe Perches , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, cocci , "David S. Miller" , Lukas Bulwahn , Nicholas Mc Guire To: Varsha Rao Return-path: Content-Disposition: inline In-Reply-To: <20180419154943.21983-1-rvarsha016@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org 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 > --- > 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 Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt