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

Eric Biggers
2025-03-02T20:21:37Z

On Sun, Mar 02, 2025 at 02:28:56PM +0800, Herbert Xu wrote:
> 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,

Patch 19 of this series already did that.

- Eric