summaryrefslogtreecommitdiff
path: root/drivers/crypto/img-hash.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
commit0fae0c1e1d7991ce0dbefdd1c35c14e9d0025cc2 (patch)
tree00bfce3e989cc5b9ec5ac2652e2924d96765f2e3 /drivers/crypto/img-hash.c
parente14e7d126765ce0156ab5e3b250b1270998c207d (diff)
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 'drivers/crypto/img-hash.c')
0 files changed, 0 insertions, 0 deletions