From: Leon Romanovsky <leon@kernel.org>
To: Jack Wang <jinpu.wang@ionos.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org,
"Christophe JAILLET" <christophe.jaillet@wanadoo.fr>,
"Kees Cook" <keescook@chromium.org>,
"Håkon Bugge" <haakon.bugge@oracle.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] infiniband/mthca: Fix dma_map_sg error check
Date: Sun, 28 Aug 2022 13:10:04 +0300 [thread overview]
Message-ID: <Yws+/FLRudJE08Xk@unreal> (raw)
In-Reply-To: <20220826095615.74328-2-jinpu.wang@ionos.com>
On Fri, Aug 26, 2022 at 11:56:14AM +0200, Jack Wang wrote:
> dma_map_sg return 0 on error, in case of error set
> EIO as return code.
>
> Cc: Jason Gunthorpe <jgg@ziepe.ca>
> Cc: Leon Romanovsky <leon@kernel.org>
> Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> Cc: Kees Cook <keescook@chromium.org>
> Cc: "Håkon Bugge" <haakon.bugge@oracle.com>
> Cc: linux-rdma@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Fixes: 56483ec1b702 ("[PATCH] IB uverbs: add mthca user doorbell record support")
> Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
> Reviewed-by: Kees Cook <keescook@chromium.org>
> ---
> drivers/infiniband/hw/mthca/mthca_memfree.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Same answer as was here
https://lore.kernel.org/all/YwIbI3ktmEiLsy6s@unreal
Thanks
next prev parent reply other threads:[~2022-08-28 10:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 9:56 [PATCH 0/2] infiniband: Fxi dma_map_sg error check Jack Wang
2022-08-26 9:56 ` [PATCH 1/2] infiniband/mthca: Fix " Jack Wang
2022-08-28 10:10 ` Leon Romanovsky [this message]
2022-08-29 5:27 ` Jinpu Wang
2022-08-26 9:56 ` [PATCH 2/2] RDMA: dma-mapping: Return an unsigned int from ib_dma_map_sg{,_attrs} Jack Wang
2022-08-28 11:09 ` Leon Romanovsky
2022-08-29 9:40 ` Jinpu Wang
2022-08-29 12:06 ` Leon Romanovsky
2022-08-29 13:19 ` Jinpu Wang
2022-08-30 8:01 ` Leon Romanovsky
2022-08-30 8:23 ` Jinpu Wang
2022-08-30 9:13 ` Leon Romanovsky
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=Yws+/FLRudJE08Xk@unreal \
--to=leon@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=haakon.bugge@oracle.com \
--cc=jgg@ziepe.ca \
--cc=jinpu.wang@ionos.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.