diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-13 00:01:02 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-18 17:35:46 +0200 |
commit | 22cb43855dce2cb1b23c5b8c5c83e9baa4cfde6e (patch) | |
tree | bf8cdee1de560927fb6dde2ca80c7c3467ba0bcc /net/sunrpc | |
parent | svcrdma: Select NFSv4.1 backchannel transport based on forward channel (diff) | |
download | linux-22cb43855dce2cb1b23c5b8c5c83e9baa4cfde6e.tar.xz linux-22cb43855dce2cb1b23c5b8c5c83e9baa4cfde6e.zip |
SUNRPC: xdr_get_next_encode_buffer should be declared static
Quell another sparse warning.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index 23fb4e75e245..290af97bf6f9 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -509,7 +509,8 @@ void xdr_commit_encode(struct xdr_stream *xdr) } EXPORT_SYMBOL_GPL(xdr_commit_encode); -__be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, size_t nbytes) +static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, + size_t nbytes) { static __be32 *p; int space_left; |