diff options
| author | 2022-05-17 16:30:47 +0200 | |
|---|---|---|
| committer | 2022-05-25 11:46:02 +0200 | |
| commit | bd52cd5e23f134019b23f0c389db0f9a436e4576 (patch) | |
| tree | f85f136c099538163da5084d2d9149eafee238bc /Documentation/blockdev/git:/ssh:/git@git.zx2c4.com | |
| parent | s390/head: get rid of 31 bit leftovers (diff) | |
| download | linux-dev-bd52cd5e23f134019b23f0c389db0f9a436e4576.tar.xz linux-dev-bd52cd5e23f134019b23f0c389db0f9a436e4576.zip | |
s390/crypto: fix scatterwalk_unmap() callers in AES-GCM
The argument of scatterwalk_unmap() is supposed to be the void* that was
returned by the previous scatterwalk_map() call.
The s390 AES-GCM implementation was instead passing the pointer to the
struct scatter_walk.
This doesn't actually break anything because scatterwalk_unmap() only uses
its argument under CONFIG_HIGHMEM and ARCH_HAS_FLUSH_ON_KUNMAP.
Fixes: bf7fa038707c ("s390/crypto: add s390 platform specific aes gcm support.")
Signed-off-by: Jann Horn <jannh@google.com>
Acked-by: Harald Freudenberger <freude@linux.ibm.com>
Link: https://lore.kernel.org/r/20220517143047.3054498-1-jannh@google.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'Documentation/blockdev/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
