aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 65fe2e4e7cbf..3fc325399ee4 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -984,7 +984,7 @@ void xprt_reserve(struct rpc_task *task)
984 984
985static inline __be32 xprt_alloc_xid(struct rpc_xprt *xprt) 985static inline __be32 xprt_alloc_xid(struct rpc_xprt *xprt)
986{ 986{
987 return xprt->xid++; 987 return (__force __be32)xprt->xid++;
988} 988}
989 989
990static inline void xprt_init_xid(struct rpc_xprt *xprt) 990static inline void xprt_init_xid(struct rpc_xprt *xprt)