From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: chenxiang <chenxiang66@hisilicon.com>
Cc: clabbe@baylibre.com, gcherian@marvell.com,
herbert@gondor.apana.org.au, davem@davemloft.net,
linux-crypto@vger.kernel.org, linuxarm@openeuler.org,
prime.zeng@huawei.com
Subject: Re: [PATCH 4/4] crypto: allwinner - Fix the parameter of dma_unmap_sg()
Date: Wed, 10 Feb 2021 15:25:35 +0100 [thread overview]
Message-ID: <YCPs3wAF8D0yDKZN@Red> (raw)
In-Reply-To: <1612853965-67777-5-git-send-email-chenxiang66@hisilicon.com>
Le Tue, Feb 09, 2021 at 02:59:25PM +0800, chenxiang a écrit :
> From: Xiang Chen <chenxiang66@hisilicon.com>
>
> For function dma_unmap_sg(), the <nents> parameter should be number of
> elements in the scatterlist prior to the mapping, not after the mapping.
> So fix this usage.
>
> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
> ---
> drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 9 ++++++---
> drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 3 ++-
> drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 9 ++++++---
> drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 3 ++-
> 4 files changed, 16 insertions(+), 8 deletions(-)
>
Hello
Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Tested-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Tested-on: sun8i-a83t-bananapi-m3
Tested-on: sun50i-h6-pine-h64
Tested-on: sun50i-h6-orangepi-one-plus
Thanks
next prev parent reply other threads:[~2021-02-10 14:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 6:59 [PATCH 0/4] Fix the parameter of dma_map_sg() chenxiang
2021-02-09 6:59 ` [PATCH 1/4] crypto: amlogic - Fix the parameter of dma_unmap_sg() chenxiang
2021-02-09 6:59 ` [PATCH 2/4] crypto: cavium " chenxiang
2021-03-03 8:59 ` Herbert Xu
2021-03-04 2:18 ` chenxiang (M)
2021-03-04 4:24 ` Herbert Xu
2021-02-09 6:59 ` [PATCH 3/4] crypto: ux500 " chenxiang
2021-02-09 6:59 ` [PATCH 4/4] crypto: allwinner " chenxiang
2021-02-10 14:25 ` Corentin Labbe [this message]
2021-02-20 1:51 ` [PATCH 0/4] Fix the parameter of dma_map_sg() chenxiang (M)
2021-02-20 2:17 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YCPs3wAF8D0yDKZN@Red \
--to=clabbe.montjoie@gmail.com \
--cc=chenxiang66@hisilicon.com \
--cc=clabbe@baylibre.com \
--cc=davem@davemloft.net \
--cc=gcherian@marvell.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linuxarm@openeuler.org \
--cc=prime.zeng@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).