[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yws+/FLRudJE08Xk@unreal>
Date: Sun, 28 Aug 2022 13:10:04 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Jack Wang <jinpu.wang@...os.com>
Cc: jgg@...pe.ca, linux-rdma@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Kees Cook <keescook@...omium.org>,
Håkon Bugge <haakon.bugge@...cle.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] infiniband/mthca: Fix dma_map_sg error check
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@...pe.ca>
> Cc: Leon Romanovsky <leon@...nel.org>
> Cc: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> Cc: Kees Cook <keescook@...omium.org>
> Cc: "Håkon Bugge" <haakon.bugge@...cle.com>
> Cc: linux-rdma@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Fixes: 56483ec1b702 ("[PATCH] IB uverbs: add mthca user doorbell record support")
> Signed-off-by: Jack Wang <jinpu.wang@...os.com>
> Reviewed-by: Kees Cook <keescook@...omium.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
Powered by blists - more mailing lists