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)
commit771ca3de25028c477332bf8b8c2db3a4dd769de2
tree44fbe8c85414c887dc2bd65546b806aa08b50b89
parent9ae440b8fdd6772b6c007fa3d3766530a09c9045
parent1186c6b31ee14fa1e83f5a94be0daa9bc99f9b30
Merge branch 'sfc-next'

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>