From: kbuild test robot <fengguang.wu@intel.com>
To: Mitesh Ahuja <mitesh.ahuja@emulex.com>
Cc: kbuild-all@01.org, Roland Dreier <roland@purestorage.com>,
Devesh Sharma <devesh.sharma@emulex.com>,
Selvin Xavier <selvin.xavier@emulex.com>,
Sean Hefty <sean.hefty@intel.com>,
Hal Rosenstock <hal.rosenstock@gmail.com>,
Jes Sorensen <Jes.Sorensen@redhat.com>,
Prarit Bhargava <prarit@redhat.com>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH next] RDMA/ocrdma: ocrdma_free_pd_pool() can be static
Date: Wed, 18 Feb 2015 11:49:30 +0800 [thread overview]
Message-ID: <20150218034930.GA54160@snb> (raw)
In-Reply-To: <201502181113.2969SUKJ%fengguang.wu@intel.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1510:6: sparse: symbol 'ocrdma_free_pd_pool' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
ocrdma_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c
index ec4571b..037893a 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c
@@ -1507,7 +1507,7 @@ void ocrdma_alloc_pd_pool(struct ocrdma_dev *dev)
}
}
-void ocrdma_free_pd_pool(struct ocrdma_dev *dev)
+static void ocrdma_free_pd_pool(struct ocrdma_dev *dev)
{
ocrdma_mbx_dealloc_pd_range(dev);
kfree(dev->pd_mgr->pd_norm_bitmap);
next prev parent reply other threads:[~2015-02-18 3:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 3:49 [next:master 10115/10230] drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1510:6: sparse: symbol 'ocrdma_free_pd_pool' was not declared. Should it be static? kbuild test robot
2015-02-18 3:49 ` kbuild test robot [this message]
2015-02-18 11:30 ` [PATCH next] RDMA/ocrdma: ocrdma_free_pd_pool() can be static Mitesh Ahuja
2015-02-18 11:35 ` Mitesh Ahuja
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=20150218034930.GA54160@snb \
--to=fengguang.wu@intel.com \
--cc=Jes.Sorensen@redhat.com \
--cc=devesh.sharma@emulex.com \
--cc=hal.rosenstock@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mitesh.ahuja@emulex.com \
--cc=prarit@redhat.com \
--cc=roland@purestorage.com \
--cc=sean.hefty@intel.com \
--cc=selvin.xavier@emulex.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