Skip to contentSkip to conversation

net/sunrpc/auth_gss/svcauth_gss.c endianness regression

PATCH New Al Viro 1 participant 1 message Oct 10, 2006

Subsystems (3)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 net/sunrpc/auth_gss/svcauth_gss.c endianness regression

---
 net/sunrpc/auth_gss/svcauth_gss.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
net/sunrpc/auth_gss/svcauth_gss.c +3 -2
index 447d9ae..1f0f079 100644
@@ -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;
Signature · 1 line
1.4.2.GIT