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>
This commit is contained in:
parent
3c45ddf823
commit
22cb43855d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user