]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] net/sunrpc/auth_gss/svcauth_gss.c endianness regression
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:49:27 +0000 (22:49 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:24 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/auth_gss/svcauth_gss.c

index 447d9aef46051ebc9fd810bc96b01e92113c61f1..1f0f079ffa654d1aa412ff3aa5344aaaee34dd4e 100644 (file)
@@ -1146,10 +1146,11 @@ out:
        return ret;
 }
 
-u32 *
+static __be32 *
 svcauth_gss_prepare_to_wrap(struct xdr_buf *resbuf, struct gss_svc_data *gsd)
 {
-       u32 *p, verf_len;
+       __be32 *p;
+       u32 verf_len;
 
        p = gsd->verf_start;
        gsd->verf_start = NULL;