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

From: Eric Biggers
Date: Sun Mar 02 2025 - 15:21:47 EST


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