]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
svcrdma: silence a Sparse warning
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Feb 2012 07:28:04 +0000 (10:28 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 23:13:33 +0000 (18:13 -0500)
Sparse complains that the definition function definition and the
implementation aren't anotated the same way.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h

index d205e9f938c651b9f399db0d634487bbd26f836a..0b8e3e6bdacf0b6af2e32541d6ad83cf52af8f6e 100644 (file)
@@ -190,7 +190,7 @@ extern int svc_rdma_xdr_encode_error(struct svcxprt_rdma *,
 extern void svc_rdma_xdr_encode_write_list(struct rpcrdma_msg *, int);
 extern void svc_rdma_xdr_encode_reply_array(struct rpcrdma_write_array *, int);
 extern void svc_rdma_xdr_encode_array_chunk(struct rpcrdma_write_array *, int,
-                                           u32, u64, u32);
+                                           __be32, __be64, u32);
 extern void svc_rdma_xdr_encode_reply_header(struct svcxprt_rdma *,
                                             struct rpcrdma_msg *,
                                             struct rpcrdma_msg *,