diff options
author | Eric Biggers <ebiggers@google.com> | 2025-02-19 10:23:34 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-02 15:19:44 +0800 |
commit | 323abf2569865a578e24382324aa0fc0b18a2490 (patch) | |
tree | 3d28db4625b4aca39849f5de364cd7fddcae055e /drivers/crypto/img-hash.c | |
parent | e7d5d8a86d92f46d00290f3d382cd12b00968058 (diff) |
crypto: s5p-sss - use the new scatterwalk functions
s5p_sg_copy_buf() open-coded a copy from/to a scatterlist using
scatterwalk_* functions that are planned for removal. Replace it with
the new functions memcpy_from_sglist() and memcpy_to_sglist() instead.
Also take the opportunity to replace calls to scatterwalk_map_and_copy()
in the same file; this eliminates the confusing 'out' argument.
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: linux-samsung-soc@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/img-hash.c')
0 files changed, 0 insertions, 0 deletions