diff options
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 2 |
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 | ||
985 | static inline __be32 xprt_alloc_xid(struct rpc_xprt *xprt) | 985 | static 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 | ||
990 | static inline void xprt_init_xid(struct rpc_xprt *xprt) | 990 | static inline void xprt_init_xid(struct rpc_xprt *xprt) |