diff options
author | Ovidiu Panait <ovidiu.panait.oss@gmail.com> | 2025-05-16 15:06:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-19 15:31:30 +0200 |
commit | 53bedcd2d2aa008b8dcb0bc04195e18796fb186e (patch) | |
tree | 1bc954b7265375a965af9b3c239f405101e0d00e /crypto/api.c | |
parent | 5ed92ad1b7d12bbffa6fd1cac7ea64d58d211625 (diff) |
crypto: sun8i-ce - move fallback ahash_request to the end of the struct
[ Upstream commit c822831b426307a6ca426621504d3c7f99765a39 ]
'struct ahash_request' has a flexible array at the end, so it must be the
last member in a struct, to avoid overwriting other struct members.
Therefore, move 'fallback_req' to the end of the 'sun8i_ce_hash_reqctx'
struct.
Fixes: 56f6d5aee88d ("crypto: sun8i-ce - support hash algorithms")
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions