mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
sw_flow_key alignment was declared as " __aligned(__alignof__(long))". However, this breaks on the m68k architecture where long is 32 bit in size but 16 bit aligned by default. This aligns to the size of a long to ensure that we can always do comparsions in full long-sized chunks. It also adds an additional build check to catch any reduction in alignment. CC: Andy Zhou <[email protected]> Reported-by: Fengguang Wu <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Jesse Gross <[email protected]> Signed-off-by: David S. Miller <[email protected]>