diff options
| author | Ales Nezbeda <[email protected]> | 2025-01-17 11:22:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-01-20 12:20:42 +0000 |
| commit | 457bb7970a0f10effd6b4ca9e1057727963c473a (patch) | |
| tree | 1b5f0117668cdde53094006a65979b10ba7d1e39 /net/unix/garbage.c | |
| parent | tipc: re-order conditions in tipc_crypto_key_rcv() (diff) | |
| download | kernel-457bb7970a0f10effd6b4ca9e1057727963c473a.tar.gz kernel-457bb7970a0f10effd6b4ca9e1057727963c473a.zip | |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
