[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201204241738.38280.hartleys@visionengravers.com>
Date: Tue, 24 Apr 2012 17:38:37 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <netdev@...r.kernel.org>, <ceph-devel@...r.kernel.org>,
<sage@...dream.net>, <davem@...emloft.net>
Subject: [PATCH] crush: include header for global symbols
Include the header to pickup the definitions of the global symbols.
Quiets the following sparse warnings:
warning: symbol 'crush_find_rule' was not declared. Should it be static?
warning: symbol 'crush_do_rule' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: Sage Weil <sage@...dream.net>
Cc: "David S. Miller" <davem@...emloft.net>
---
diff --git a/net/ceph/crush/mapper.c b/net/ceph/crush/mapper.c
index 854ac53..363f8f7 100644
--- a/net/ceph/crush/mapper.c
+++ b/net/ceph/crush/mapper.c
@@ -20,6 +20,7 @@
#include <linux/crush/crush.h>
#include <linux/crush/hash.h>
+#include <linux/crush/mapper.h>
/*
* Implement the core CRUSH mapping algorithm.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists