[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191006.183451.484972979524930992.davem@davemloft.net>
Date: Sun, 06 Oct 2019 18:34:51 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: santosh.shilimkar@...cle.com, ka-cheong.poon@...cle.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
rds-devel@....oracle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net/rds: Add missing include file
From: YueHaibing <yuehaibing@...wei.com>
Date: Sun, 6 Oct 2019 15:08:32 +0800
> Fix build error:
>
> net/rds/ib_cm.c: In function rds_dma_hdrs_alloc:
> net/rds/ib_cm.c:475:13: error: implicit declaration of function dma_pool_zalloc; did you mean mempool_alloc? [-Werror=implicit-function-declaration]
> hdrs[i] = dma_pool_zalloc(pool, GFP_KERNEL, &hdr_daddrs[i]);
> ^~~~~~~~~~~~~~~
> mempool_alloc
>
> net/rds/ib.c: In function rds_ib_dev_free:
> net/rds/ib.c:111:3: error: implicit declaration of function dma_pool_destroy; did you mean mempool_destroy? [-Werror=implicit-function-declaration]
> dma_pool_destroy(rds_ibdev->rid_hdrs_pool);
> ^~~~~~~~~~~~~~~~
> mempool_destroy
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: 9b17f5884be4 ("net/rds: Use DMA memory pool allocation for rds_header")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists