aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-05-11 13:10:09 +0300
committerHerbert Xu <[email protected]>2015-05-13 10:31:54 +0800
commit608f37d0f83e4359f48121949778bf912cd56800 (patch)
tree7af7ac9a0b13ead735b605e1efc9d689955b7fdb /tools/perf/scripts/python
parent5d1d65f8bea6de3d9c2c60fdfdd2da02da5ea672 (diff)
crypto: talitos - fix size calculation in talitos_edesc_alloc()
The + operation has higher precedence than ?: so we need parentheses here. Otherwise we may end up allocating a max of only one "cryptlen" instead of two. Fixes: 6f65f6ac5fb3 ('crypto: talitos - implement scatter/gather copy for SEC1') Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Christophe Leroy <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions