[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202208191518.A550DF53BC@keescook>
Date: Fri, 19 Aug 2022 15:19:01 -0700
From: Kees Cook <keescook@...omium.org>
To: Jack Wang <jinpu.wang@...os.com>
Cc: linux-kernel@...r.kernel.org, Jason Gunthorpe <jgg@...pe.ca>,
Leon Romanovsky <leon@...nel.org>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Håkon Bugge <haakon.bugge@...cle.com>,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH v1 02/19] infiniband/mthca: Fix dma_map_sg error check
On Fri, Aug 19, 2022 at 08:07:44AM +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
> Signed-off-by: Jack Wang <jinpu.wang@...os.com>
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists