projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc54d8
)
SUNRPC: Fix a compiler warning in fs/nfs/clnt.c
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 21:06:28 +0000
(17:06 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 21:06:28 +0000
(17:06 -0400)
Fix the report:
net/sunrpc/clnt.c:2580:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/clnt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/clnt.c
b/net/sunrpc/clnt.c
index 06b4df9faaa1696b1e21ead9ddacea85cf41f760..d6e75872454d51ab478e0c566acd024732390996 100644
(file)
--- a/
net/sunrpc/clnt.c
+++ b/
net/sunrpc/clnt.c
@@
-2558,7
+2558,7
@@
static void rpc_cb_add_xprt_release(void *calldata)
kfree(data);
}
-
const static
struct rpc_call_ops rpc_cb_add_xprt_call_ops = {
+
static const
struct rpc_call_ops rpc_cb_add_xprt_call_ops = {
.rpc_call_done = rpc_cb_add_xprt_done,
.rpc_release = rpc_cb_add_xprt_release,
};