summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAles Nezbeda <anezbeda@redhat.com>2025-01-17 14:22:28 +0300
committerDavid S. Miller <davem@davemloft.net>2025-01-20 15:20:42 +0300
commit457bb7970a0f10effd6b4ca9e1057727963c473a (patch)
tree1b5f0117668cdde53094006a65979b10ba7d1e39 /net/unix/sysctl_net_unix.c
parent5fe71fda89745fc3cd95f70d06e9162b595c3702 (diff)
downloadlinux-457bb7970a0f10effd6b4ca9e1057727963c473a.tar.xz
net: macsec: Add endianness annotations in salt struct
This change resolves warning produced by sparse tool as currently there is a mismatch between normal generic type in salt and endian annotated type in macsec driver code. Endian annotated types should be used here. Sparse output: warning: restricted ssci_t degrades to integer warning: incorrect type in assignment (different base types) expected restricted ssci_t [usertype] ssci got unsigned int warning: restricted __be64 degrades to integer warning: incorrect type in assignment (different base types) expected restricted __be64 [usertype] pn got unsigned long long Signed-off-by: Ales Nezbeda <anezbeda@redhat.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions