mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[SUNRPC]: trivial endianness annotations
pure s/u32/__be32/ [AV: large part based on Alexey's patches] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7699431301
commit
d8ed029d60
22 changed files with 146 additions and 143 deletions
|
@ -115,7 +115,7 @@ gss_get_mic_kerberos(struct gss_ctx *gss_ctx, struct xdr_buf *text,
|
|||
krb5_hdr = ptr - 2;
|
||||
msg_start = krb5_hdr + 24;
|
||||
|
||||
*(u16 *)(krb5_hdr + 2) = htons(ctx->signalg);
|
||||
*(__be16 *)(krb5_hdr + 2) = htons(ctx->signalg);
|
||||
memset(krb5_hdr + 4, 0xff, 4);
|
||||
|
||||
if (make_checksum(checksum_type, krb5_hdr, 8, text, 0, &md5cksum))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue