From mboxrd@z Thu Jan 1 00:00:00 1970 From: Iulius Curt Subject: [PATCH] libceph: Fix sparse warning Date: Tue, 14 Aug 2012 16:27:37 +0300 Message-ID: <1344950857-32139-1-git-send-email-icurt@ixiacom.com> Cc: sage@inktank.com, ceph-devel@vger.kernel.org, netdev@vger.kernel.org, dbaluta@ixiacom.com, Iulius Curt , Iulius Curt To: davem@davemloft.net Return-path: Received: from mail-qa0-f46.google.com ([209.85.216.46]:44236 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372Ab2HNN1j (ORCPT ); Tue, 14 Aug 2012 09:27:39 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Iulius Curt 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 --- 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