summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-06-20 17:54:51 -0700
committerJ. Bruce Fields <bfields@redhat.com>2011-07-15 18:58:43 -0400
commit177e4f998bb3a1a723d1ad200e9a7c7c20490f17 (patch)
tree331c4ac748c1228e5a73d081e9a8859e9a3f55f3 /net
parent49b28684fdba2c84a3b8e54aaa0faa9ce2e4f140 (diff)
downloadop-kernel-dev-177e4f998bb3a1a723d1ad200e9a7c7c20490f17.zip
op-kernel-dev-177e4f998bb3a1a723d1ad200e9a7c7c20490f17.tar.gz
svcsock.c: include sunrpc.h to quiet sparse noise
Include the private header sunrpc.h to pickup the declaration of the function svc_send_common to quiet the following sparse noise: warning: symbol 'svc_send_common' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Neil Brown <neilb@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svcsock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index af04f77..f2cb5b8 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -51,6 +51,8 @@
#include <linux/sunrpc/stats.h>
#include <linux/sunrpc/xprt.h>
+#include "sunrpc.h"
+
#define RPCDBG_FACILITY RPCDBG_SVCXPRT
OpenPOWER on IntegriCloud