Messages in this thread Patch in this message | | | From | H Hartley Sweeten <> | Subject | [PATCH] svcsock.c: include sunrpc.h to quite sparse noise | Date | Mon, 20 Jun 2011 17:54:51 -0700 |
| |
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>
---
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
| |