NFS: add an endian notation for sparse
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 07:37:39 +0000 (10:37 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Jun 2012 13:54:40 +0000 (09:54 -0400)
commite216c8c771c9a77f14d7e8b4131846b038f6c145
tree833ba08ce3c09286eb3f9c8d8e6b2a7c36eb22a4
parent0439f31c35d1da0b28988b308ea455e38e6a350d
NFS: add an endian notation for sparse

This is supposed to be a __be32 value.  Sparse complains a lot:

fs/nfs/callback_xdr.c:699:30: warning: incorrect type in initializer (different base types)
fs/nfs/callback_xdr.c:699:30:    expected unsigned int [unsigned] status
fs/nfs/callback_xdr.c:699:30:    got restricted __be32 const [usertype] csr_status
fs/nfs/callback_xdr.c:715:9: warning: cast to restricted __be32
fs/nfs/callback_xdr.c:716:16: warning: incorrect type in return expression (different base types)
fs/nfs/callback_xdr.c:716:16:    expected restricted __be32
fs/nfs/callback_xdr.c:716:16:    got unsigned int [unsigned] status

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_xdr.c