summaryrefslogtreecommitdiff
path: root/security/selinux/netif.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2019-05-08 09:21:17 +0300
committerPaul Moore <paul@paul-moore.com>2019-05-21 22:49:21 +0300
commit8ba1d53739d960cf118762da7850e625a8b462d9 (patch)
tree889cbfbbd5ed2dcb789a0444dd8c8178e3596b1c /security/selinux/netif.c
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
downloadlinux-8ba1d53739d960cf118762da7850e625a8b462d9.tar.xz
selinux: provide __le variables explicitly
While the endiannes is being handled properly sparse was unable to verify this due to type inconsistency. So introduce an additional __le32 respectively _le64 variable to be passed to le32/64_to_cpu() to allow sparse to verify proper typing. Note that this patch does not change the generated binary on little-endian systems - on 32bit powerpc it does change the binary. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/netif.c')
0 files changed, 0 insertions, 0 deletions