projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c45ddf
)
SUNRPC: xdr_get_next_encode_buffer should be declared static
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sat, 12 Jul 2014 22:01:02 +0000
(18:01 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 18 Jul 2014 15:35:46 +0000
(11:35 -0400)
Quell another sparse warning.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xdr.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/xdr.c
b/net/sunrpc/xdr.c
index 23fb4e75e24546bd7b2394511fec972cec1aa6d6..290af97bf6f94a72eeb291a6324f4b80fc29db1e 100644
(file)
--- 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;