[PATCH] net/sunrpc/auth_gss/svcauth_gss.c endianness regression
Al Viro [Tue, 10 Oct 2006 21:49:27 +0000 (22:49 +0100)]
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 447d9ae..1f0f079 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;