Re: [PATCH] RDMA/usnic: switch from 'pci_' to 'dma_' API

From: Jason Gunthorpe
Date: Thu Jul 16 2020 - 14:44:47 EST


On Sat, Jul 11, 2020 at 09:31:20AM +0200, Christophe JAILLET wrote:
> The wrappers in include/linux/pci-dma-compat.h should go away.
>
> The patch has been generated with the coccinelle script bellow.
> It has been compile tested.
>
> When memory is allocated, GFP_ATOMIC should be used to be consistent with
> the surrounding code.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> If needed, see post from Christoph Hellwig on the kernel-janitors ML:
> https://marc.info/?l=kernel-janitors&m=158745678307186&w=4
> ---
> drivers/infiniband/hw/usnic/usnic_fwd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

I checked the GFP and it looks OK to me, thanks.

Applied to for-next

Jason