Merge branch 'sfc-next'
authorDavid S. Miller <davem@davemloft.net>
Mon, 26 Jun 2023 09:36:48 +0000 (10:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jun 2023 09:36:48 +0000 (10:36 +0100)
Edward Cree says:

====================
sfc: fix unaligned access in loopback selftests

Arnd reported that the sfc drivers each define a packed loopback_payload
 structure with an ethernet header followed by an IP header, whereas the
 kernel definition of iphdr specifies that this is 4-byte aligned,
 causing a W=1 warning.
Fix this in each case by adding two bytes of leading padding to the
 struct, taking care that these are not sent on the wire.
Tested on EF10; build-tested on Siena and Falcon.

Changed in v2:
* added __aligned(4) to payload struct definitions (Arnd)
* fixed dodgy whitespace (checkpatch)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge