summaryrefslogtreecommitdiffstats
path: root/net/mac80211/wpa.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-12-14 15:58:40 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-12-16 18:37:25 +0100
commit98eb2b4f9323bcf2a46476576d3155758cb0a473 (patch)
tree7b7308f76ec761249ba1992a7106633d00035384 /net/mac80211/wpa.h
parentNSM: Avoid return code checking in NSM XDR encoder functions (diff)
downloadlinux-98eb2b4f9323bcf2a46476576d3155758cb0a473.tar.xz
linux-98eb2b4f9323bcf2a46476576d3155758cb0a473.zip
NFS: Avoid return code checking in mount XDR encoder functions
Clean up. The trend in the other XDR encoder functions is to BUG() when encoding problems occur, since a problem here is always due to a local coding error. Then, instead of a status, zero is unconditionally returned. Update the mount client XDR encoders to behave this way. To finish the update, use the new-style be32_to_cpup() and cpu_to_be32() macros, and compute the buffer sizes using raw integers instead of sizeof(). This matches the conventions used in other XDR functions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/mac80211/wpa.h')
0 files changed, 0 insertions, 0 deletions