commit | 0fae0c1e1d7991ce0dbefdd1c35c14e9d0025cc2 | [log] [tgz] |
---|---|---|
author | Yanjiang Jin <yanjiang.jin@windriver.com> | Fri Jul 29 16:32:09 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Aug 09 18:47:19 2016 +0800 |
tree | 00bfce3e989cc5b9ec5ac2652e2924d96765f2e3 | |
parent | e14e7d126765ce0156ab5e3b250b1270998c207d [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>