net: hsr: Add __packed to struct hsr_sup_tlv.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 15 Sep 2023 18:10:03 +0000 (20:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 07:26:19 +0000 (08:26 +0100)
commitfbd825fcd7dd4c11d4c48c3d0adc248a4a0ce90b
tree0f3290c7872d68935772bc7fba1d61ca3fb88cf5
parent295de650d3aaf9e50258465c5f1c84b465d836f6
net: hsr: Add __packed to struct hsr_sup_tlv.

Struct hsr_sup_tlv describes HW layout and therefore it needs a __packed
attribute to ensure the compiler does not add any padding.
Due to the size and __packed attribute of the structs that use
hsr_sup_tlv it has no functional impact.

Add __packed to struct hsr_sup_tlv.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_main.h