From: Jeff Layton Date: Wed, 16 Jul 2014 10:52:21 +0000 (-0400) Subject: sunrpc: clean up sparse endianness warnings in gss_krb5_wrap.c X-Git-Tag: omap-for-v3.17/fixes-against-rc2~82^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36e9c44af00285ea33e78ce8ac91da3d8ac74da;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed