summaryrefslogtreecommitdiff
path: root/crypto/zlib.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-04-28 15:36:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-01 11:16:37 +0800
commit8b943c99bd1f098f2dd266a2308d0011d0b23d14 (patch)
tree6e1fb5902c7559c61e6ec23b8a02e6584a7a798c /crypto/zlib.c
parentbdada9300735444a1c392bb49145c7da246d6b05 (diff)
downloadlinux-crypto-8b943c99bd1f098f2dd266a2308d0011d0b23d14.tar.gz
linux-crypto-8b943c99bd1f098f2dd266a2308d0011d0b23d14.zip
crypto: testmgr - Wrap the LHS in expressions of the form !x == y
In the test manager, there are a number of if-statements with expressions of the form !x == y that incur warnings with gcc-5 of the following form: ../crypto/testmgr.c: In function '__test_aead': ../crypto/testmgr.c:523:12: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!ret == template[i].fail) { ^ By converting the 'fail' member of struct aead_testvec and struct cipher_testvec to a bool, we can get rid of the warnings. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/zlib.c')
0 files changed, 0 insertions, 0 deletions