Commit dcf1a3573eae69937fb14462369c4d3e6f4a37f1

Authored by H Hartley Sweeten
Committed by J. Bruce Fields
1 parent 4ba170c2bb

net/sunrpc/svc_xprt.c: fix sparse warnings

Fix the following sparse warnings in net/sunrpc/svc_xprt.c.

  warning: symbol 'svc_recv' was not declared. Should it be static?
  warning: symbol 'svc_drop' was not declared. Should it be static?
  warning: symbol 'svc_send' was not declared. Should it be static?
  warning: symbol 'svc_close_all' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

net/sunrpc/svc_xprt.c
... ... @@ -11,6 +11,7 @@
11 11 #include <net/sock.h>
12 12 #include <linux/sunrpc/stats.h>
13 13 #include <linux/sunrpc/svc_xprt.h>
  14 +#include <linux/sunrpc/svcsock.h>
14 15  
15 16 #define RPCDBG_FACILITY RPCDBG_SVCXPRT
16 17