On Fri, Jul 29, 2016 at 04:32:09PM +0800, [email protected] wrote: > From: Yanjiang Jin <[email protected]> > > "if (!ret == template[i].fail)" is confusing to compilers (gcc5): > > crypto/testmgr.c: In function '__test_aead': > crypto/testmgr.c:531:12: warning: logical not is only applied to the > left hand side of comparison [-Wlogical-not-parentheses] > if (!ret == template[i].fail) { > ^ > > Let there be 'if (template[i].fail == !ret) '. > > Signed-off-by: Yanjiang Jin <[email protected]>
Patch applied. Thanks. -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

