diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-16 12:52:21 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-03 23:05:24 +0200 |
commit | b36e9c44af00285ea33e78ce8ac91da3d8ac74da (patch) | |
tree | 0196471ad7aef9b39225c727c1d6b33e1dde37f0 /net/sunrpc/auth_unix.c | |
parent | sunrpc: clean up sparse endianness warnings in gss_krb5_seal.c (diff) | |
download | linux-b36e9c44af00285ea33e78ce8ac91da3d8ac74da.tar.xz linux-b36e9c44af00285ea33e78ce8ac91da3d8ac74da.zip |
sunrpc: clean up sparse endianness warnings in gss_krb5_wrap.c
Fix the endianness handling in gss_wrap_kerberos_v1 and drop the memset
call there in favor of setting the filler bytes directly.
In gss_wrap_kerberos_v2, get rid of the "ec" variable which is always
zero, and drop the endianness conversion of 0. Sparse handles 0 as a
special case, so it's not necessary.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/auth_unix.c')
0 files changed, 0 insertions, 0 deletions