commit | 24dbcaba6e25e2a3a617c0d84278c45182c3dc29 | [log] [tgz] |
---|---|---|
author | Zhen Kong <zkong@codeaurora.org> | Fri Jul 29 15:32:31 2016 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Aug 06 12:17:04 2017 +0200 |
tree | b4680ea26e6812dca7516507183ec48d891dce50 | |
parent | c17ae00603ecbc3b8d44af0da6a5fa055ca54b98 [diff] |
msm: crypto: Fix integer over flow check in qcedev driver Integer overflow check always fails when ULONG_MAX is used, as ULONG_MAX is 2^64-1, while req->data[i].len and total are uint32_t. Make change to use U32_MAX instead of ULONG_MAX. CRs-fixed: 1046507 Change-Id: Iccf9c32400ecc7ffc0afae16f58c38e5d78a5b64 Signed-off-by: Zhen Kong <zkong@codeaurora.org>