diff options
author | Adam Guerin <adam.guerin@intel.com> | 2021-01-04 20:21:59 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-14 09:10:26 +0300 |
commit | e48767c17718067ba21fb2ef461779ec2506f845 (patch) | |
tree | ee38c865ac3dc6e5f6c707438f0134d9f1214248 /drivers/memstick | |
parent | 80fccf18fec399de2151f84276d799ee0f704141 (diff) | |
download | linux-e48767c17718067ba21fb2ef461779ec2506f845.tar.xz |
crypto: qat - reduce size of mapped region
Restrict size of field to what is required by the operation.
This issue was detected by smatch:
drivers/crypto/qat/qat_common/qat_asym_algs.c:328 qat_dh_compute_value() error: dma_map_single_attrs() '&qat_req->in.dh.in.b' too small (8 vs 64)
Signed-off-by: Adam Guerin <adam.guerin@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions