summaryrefslogtreecommitdiff
path: root/crypto/xts.c
diff options
context:
space:
mode:
authorYanjiang Jin <yanjiang.jin@windriver.com>2016-07-29 16:32:09 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-09 18:47:19 +0800
commitcaa7953b5211130a9a730e7d49c47558247a2404 (patch)
treea32f9ca993ab240fc76fe97ed020c5b3bd4c3eec /crypto/xts.c
parentc5df76a185f097d771c0851daddcac1e7ee75d0a (diff)
downloadlinux-crypto-caa7953b5211130a9a730e7d49c47558247a2404.tar.gz
linux-crypto-caa7953b5211130a9a730e7d49c47558247a2404.zip
crypto: testmgr - fix !x==y confusion
"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 <yanjiang.jin@windriver.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions