From: Iulius Curt <iulius.curt@gmail.com>
To: davem@davemloft.net
Cc: sage@inktank.com, ceph-devel@vger.kernel.org,
netdev@vger.kernel.org, dbaluta@ixiacom.com,
Iulius Curt <iulius.curt@gmail.com>,
Iulius Curt <icurt@ixiacom.com>
Subject: [PATCH] libceph: Fix sparse warning
Date: Tue, 14 Aug 2012 16:27:37 +0300 [thread overview]
Message-ID: <1344950857-32139-1-git-send-email-icurt@ixiacom.com> (raw)
From: Iulius Curt <iulius.curt@gmail.com>
Make ceph_monc_do_poolop() static to remove the following sparse warning:
* net/ceph/mon_client.c:616:5: warning: symbol 'ceph_monc_do_poolop' was not
declared. Should it be static?
Signed-off-by: Iulius Curt <icurt@ixiacom.com>
---
net/ceph/mon_client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c
index 105d533..3875c60 100644
--- a/net/ceph/mon_client.c
+++ b/net/ceph/mon_client.c
@@ -613,7 +613,7 @@ bad:
/*
* Do a synchronous pool op.
*/
-int ceph_monc_do_poolop(struct ceph_mon_client *monc, u32 op,
+static int ceph_monc_do_poolop(struct ceph_mon_client *monc, u32 op,
u32 pool, u64 snapid,
char *buf, int len)
{
--
1.7.9.5
next reply other threads:[~2012-08-14 13:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 13:27 Iulius Curt [this message]
2012-08-22 9:46 ` [PATCH] libceph: Fix sparse warning Daniel Baluta
2012-08-22 15:53 ` Sage Weil
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=1344950857-32139-1-git-send-email-icurt@ixiacom.com \
--to=iulius.curt@gmail.com \
--cc=ceph-devel@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=dbaluta@ixiacom.com \
--cc=icurt@ixiacom.com \
--cc=netdev@vger.kernel.org \
--cc=sage@inktank.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