commit | 42d2e780c6239040ec29d404f87e752de3627e08 | [log] [tgz] |
---|---|---|
author | Asaf Vertz <asaf.vertz@tandemg.com> | Mon Jan 05 10:23:10 2015 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jan 08 21:46:17 2015 +1100 |
tree | 1eeadf3c1b7324dba54e957ee83d61e8baaa177e | |
parent | 28c29f5657e886cf89778622af3f6569329508df [diff] |
crypto: omap-des - fix BUG_ON condition dd->total is unsigned so it won't do any good to check for negative value after subtracting instead of that we should check if the subtracted value is bigger than him This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>