[SUNRPC]: trivial endianness annotations
pure s/u32/__be32/ [AV: large part based on Alexey's patches] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7699431301
commit
d8ed029d60
@@ -594,7 +594,7 @@ static void xprt_connect_status(struct rpc_task *task)
|
||||
* @xid: RPC XID of incoming reply
|
||||
*
|
||||
*/
|
||||
struct rpc_rqst *xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid)
|
||||
struct rpc_rqst *xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid)
|
||||
{
|
||||
struct list_head *pos;
|
||||
|
||||
@@ -801,7 +801,7 @@ void xprt_reserve(struct rpc_task *task)
|
||||
spin_unlock(&xprt->reserve_lock);
|
||||
}
|
||||
|
||||
static inline u32 xprt_alloc_xid(struct rpc_xprt *xprt)
|
||||
static inline __be32 xprt_alloc_xid(struct rpc_xprt *xprt)
|
||||
{
|
||||
return xprt->xid++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user