Re: [PATCH v3 03/19] crypto: scatterwalk - add new functions for iterating through data
From: Eric Biggers <ebiggers@kernel.org>
Date: 2025-03-02 20:21:37
Also in:
linux-crypto, lkml
From: Eric Biggers <ebiggers@kernel.org>
Date: 2025-03-02 20:21:37
Also in:
linux-crypto, lkml
On Sun, Mar 02, 2025 at 02:28:56PM +0800, Herbert Xu wrote:
Eric Biggers [off-list ref] wrote:quoted
+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