Eric Biggers <ebiggers@xxxxxxxxxx> wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > Local kunmaps have to be unmapped in the opposite order from which they > were mapped. My recent change flipped the unmap order in the > SKCIPHER_WALK_DIFF case. Adjust the mapping side to match. > > This fixes a WARN_ON_ONCE that was triggered when running the > crypto-self tests on a 32-bit kernel with > CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y. > > Fixes: 95dbd711b1d8 ("crypto: skcipher - use the new scatterwalk functions") > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > --- > crypto/skcipher.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt