diff options
author | Eric Biggers <ebiggers@google.com> | 2016-11-23 18:24:35 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:35 (GMT) |
commit | 955b5aabd779bf2f3a6670d14cb2bbc7c4e77c30 (patch) | |
tree | d5dbae00a31d0f94e8db7b5984e4f70b04ebb056 /arch/tile/gxio | |
parent | 48778b03281c64d8a4defd7ee061828a365f4a15 (diff) | |
download | linux-955b5aabd779bf2f3a6670d14cb2bbc7c4e77c30.tar.xz |
crypto: testmgr - don't use stack buffer in test_acomp()
With virtually-mapped stacks (CONFIG_VMAP_STACK=y), using the
scatterlist crypto API with stack buffers is not allowed, and with
appropriate debugging options will cause the
'BUG_ON(!virt_addr_valid(buf));' in sg_set_buf() to be triggered.
Use a heap buffer instead.
Fixes: d7db7a882deb ("crypto: acomp - update testmgr with support for acomp")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/tile/gxio')
0 files changed, 0 insertions, 0 deletions