From: Jesse Gross Date: Thu, 5 Sep 2013 19:17:05 +0000 (-0700) Subject: openvswitch: Fix alignment of struct sw_flow_key. X-Git-Tag: v3.12-rc1~132^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d40f75bdab241868c0eb6f97aef9f8b3a66f7b3;p=pandora-kernel.git openvswitch: Fix alignment of struct sw_flow_key. 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 Reported-by: Fengguang Wu Reported-by: Geert Uytterhoeven Signed-off-by: Jesse Gross Signed-off-by: David S. Miller --- Reading git-diff-tree failed