Skip to content

Commit

Permalink
lockd: trivial sparse endian annotations
Browse files Browse the repository at this point in the history
fs/lockd/svcproc.c:115:11: warning: incorrect type in initializer (different base types)
fs/lockd/svcproc.c:115:11:    expected int [signed] rc
fs/lockd/svcproc.c:115:11:    got restricted __be32 [usertype] <noident>
... and so on...

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
  • Loading branch information
Harvey Harrison authored and J. Bruce Fields committed Jul 23, 2008
1 parent c010b2f commit 317602f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fs/lockd/svc4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: TEST4 called\n");
resp->cookie = argp->cookie;
Expand Down Expand Up @@ -116,7 +116,7 @@ nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: LOCK called\n");

Expand Down
4 changes: 2 additions & 2 deletions fs/lockd/svcproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: TEST called\n");
resp->cookie = argp->cookie;
Expand Down Expand Up @@ -146,7 +146,7 @@ nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: LOCK called\n");

Expand Down

0 comments on commit 317602f

Please sign in to comment.