[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130905.155453.1868210686010920876.davem@davemloft.net>
Date: Thu, 05 Sep 2013 15:54:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jesse@...ira.com
Cc: netdev@...r.kernel.org, dev@...nvswitch.org, azhou@...ira.com,
fengguang.wu@...el.com, geert@...ux-m68k.org
Subject: Re: [PATCH] openvswitch: Fix alignment of struct sw_flow_key.
From: Jesse Gross <jesse@...ira.com>
Date: Thu, 5 Sep 2013 12:17:05 -0700
> 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 <azhou@...ira.com>
> Reported-by: Fengguang Wu <fengguang.wu@...el.com>
> Reported-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Signed-off-by: Jesse Gross <jesse@...ira.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists