mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
lockd: trivial sparse endian annotations
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>
This commit is contained in:
parent
c010b2f76c
commit
317602f3e0
@ -83,7 +83,7 @@ nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
|
|||||||
{
|
{
|
||||||
struct nlm_host *host;
|
struct nlm_host *host;
|
||||||
struct nlm_file *file;
|
struct nlm_file *file;
|
||||||
int rc = rpc_success;
|
__be32 rc = rpc_success;
|
||||||
|
|
||||||
dprintk("lockd: TEST4 called\n");
|
dprintk("lockd: TEST4 called\n");
|
||||||
resp->cookie = argp->cookie;
|
resp->cookie = argp->cookie;
|
||||||
@ -116,7 +116,7 @@ nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
|
|||||||
{
|
{
|
||||||
struct nlm_host *host;
|
struct nlm_host *host;
|
||||||
struct nlm_file *file;
|
struct nlm_file *file;
|
||||||
int rc = rpc_success;
|
__be32 rc = rpc_success;
|
||||||
|
|
||||||
dprintk("lockd: LOCK called\n");
|
dprintk("lockd: LOCK called\n");
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
|
|||||||
{
|
{
|
||||||
struct nlm_host *host;
|
struct nlm_host *host;
|
||||||
struct nlm_file *file;
|
struct nlm_file *file;
|
||||||
int rc = rpc_success;
|
__be32 rc = rpc_success;
|
||||||
|
|
||||||
dprintk("lockd: TEST called\n");
|
dprintk("lockd: TEST called\n");
|
||||||
resp->cookie = argp->cookie;
|
resp->cookie = argp->cookie;
|
||||||
@ -146,7 +146,7 @@ nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
|
|||||||
{
|
{
|
||||||
struct nlm_host *host;
|
struct nlm_host *host;
|
||||||
struct nlm_file *file;
|
struct nlm_file *file;
|
||||||
int rc = rpc_success;
|
__be32 rc = rpc_success;
|
||||||
|
|
||||||
dprintk("lockd: LOCK called\n");
|
dprintk("lockd: LOCK called\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user