]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: scatterwalk - simplify map and unmap calling convention
authorEric Biggers <ebiggers@google.com>
Mon, 10 Mar 2025 17:20:16 +0000 (10:20 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Mar 2025 09:33:38 +0000 (17:33 +0800)
commit7450ebd29cd9b9745f005f2609badacea15fbe30
treeab9fffe125e88f5e396745ac2966230f0a247ab1
parentea3d35467ba474768013365ce5f2c6eb454fed3a
crypto: scatterwalk - simplify map and unmap calling convention

Now that the address returned by scatterwalk_map() is always being
stored into the same struct scatter_walk that is passed in, make
scatterwalk_map() do so itself and return void.

Similarly, now that scatterwalk_unmap() is always being passed the
address field within a struct scatter_walk, make scatterwalk_unmap()
take a pointer to struct scatter_walk instead of the address directly.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/aes_s390.c
crypto/skcipher.c
include/crypto/scatterwalk.h