svcsock.c: include sunrpc.h to quite sparse noise
Subsystems (4)
PATCH 1/1 svcsock.c: include sunrpc.h to quite 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 <[email protected]>
Cc Trond Myklebust <[email protected]>
Cc "J. Bruce Fields" <[email protected]>
Cc Neil Brown <[email protected]>
Cc "David S. Miller" <davem-fT/PcQaiUtIeIZ0/[email protected]>
---
net/sunrpc/svcsock.c +2 -0
@@ -51,6 +51,8 @@#include <linux/sunrpc/stats.h> #include <linux/sunrpc/xprt.h> +#include "sunrpc.h" +#define RPCDBG_FACILITY RPCDBG_SVCXPRT
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · H Hartley Sweeten
Include the private header
sunrpc.hto pickup the declaration of the functionsvc_send_commonto quiet the following sparse noise:warning: symbol '
svc_send_common' was not declared. Should it be static?
Thanks, applying for 3.1--b.
Quoted 22 lines
Signed-off-by H Hartley Sweeten <[email protected]>Cc Trond Myklebust <[email protected]>Cc "J. Bruce Fields" <[email protected]>Cc Neil Brown <[email protected]>Cc "David S. Miller" <[email protected]>---
net/sunrpc/svcsock.c +2
-0@@ -51,6 +51,8 @@#include <linux/sunrpc/stats.h> #include <linux/sunrpc/xprt.h> +#include "sunrpc.h" +#define RPCDBG_FACILITY RPCDBG_SVCXPRT