diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2019-05-08 09:21:17 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-05-21 22:49:21 +0300 |
commit | 8ba1d53739d960cf118762da7850e625a8b462d9 (patch) | |
tree | 889cbfbbd5ed2dcb789a0444dd8c8178e3596b1c /security/selinux/netport.c | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) | |
download | linux-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/netport.c')
0 files changed, 0 insertions, 0 deletions