summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qce
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-04-22 12:56:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-25 19:14:52 +0800
commitb908bd3d4c4110a8a2ed84e2b6ab56fa7201db25 (patch)
tree9fc7a18513c926dc29011cdb7d8446c4d7c60cb3 /drivers/crypto/qce
parent3639ca840df953f9af6f15fc8a6bf77f19075ab1 (diff)
downloadlinux-b908bd3d4c4110a8a2ed84e2b6ab56fa7201db25.tar.bz2
crypto: mxc-scc - signedness bugs in mxc_scc_ablkcipher_req_init()
->src_nents and ->dst_nents are unsigned so they can't be less than zero. I fixed this by introducing a temporary "nents" variable. Fixes: d293b640ebd5 ('crypto: mxc-scc - add basic driver for the MXC SCC') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qce')
0 files changed, 0 insertions, 0 deletions