diff options
author | Yanjiang Jin <yanjiang.jin@windriver.com> | 2016-07-29 16:32:09 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-09 18:47:19 +0800 |
commit | 0fae0c1e1d7991ce0dbefdd1c35c14e9d0025cc2 (patch) | |
tree | 00bfce3e989cc5b9ec5ac2652e2924d96765f2e3 /fs | |
parent | e14e7d126765ce0156ab5e3b250b1270998c207d (diff) | |
download | op-kernel-dev-0fae0c1e1d7991ce0dbefdd1c35c14e9d0025cc2.zip op-kernel-dev-0fae0c1e1d7991ce0dbefdd1c35c14e9d0025cc2.tar.gz |
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 'fs')
0 files changed, 0 insertions, 0 deletions