Re: [PATCH v3 03/19] crypto: scatterwalk - add new functions for iterating through data

Herbert Xu
2025-03-02T06:28:59Z

Eric Biggers <ebiggers@kernel.org> wrote:
>
> +static inline void scatterwalk_done_src(struct scatter_walk *walk,
> + const void *vaddr, unsigned int nbytes)
> +{
> + scatterwalk_unmap((void *)vaddr);

Please send an incremental patch to eliminate this cast by making
scatterwalk_unmap take a const void * just like kunmap_local.

Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt