From: David Miller <davem@davemloft.net>
To: yuehaibing@huawei.com
Cc: santosh.shilimkar@oracle.com, ka-cheong.poon@oracle.com,
netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] net/rds: Add missing include file
Date: Sun, 06 Oct 2019 18:34:51 +0200 (CEST) [thread overview]
Message-ID: <20191006.183451.484972979524930992.davem@davemloft.net> (raw)
In-Reply-To: <20191006070832.55532-1-yuehaibing@huawei.com>
From: YueHaibing <yuehaibing@huawei.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@huawei.com>
> Fixes: 9b17f5884be4 ("net/rds: Use DMA memory pool allocation for rds_header")
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
prev parent reply other threads:[~2019-10-06 16:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-06 7:08 YueHaibing
2019-10-06 16:34 ` David Miller [this message]
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=20191006.183451.484972979524930992.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ka-cheong.poon@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rds-devel@oss.oracle.com \
--cc=santosh.shilimkar@oracle.com \
--cc=yuehaibing@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®