rtlwifi: Align private space in rtl_priv struct
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 19 Sep 2013 02:21:35 +0000 (21:21 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 18:02:30 +0000 (14:02 -0400)
commit60ce314d1750fef843e9db70050e09e49f838b69
treea3878e432888deda4fa844ffa2ef620eac10ff1c
parent919123d246adf3e69320900842015368c2384d0f
rtlwifi: Align private space in rtl_priv struct

The private array at the end of the rtl_priv struct is not aligned.
On ARM architecture, this causes an alignment trap and is fixed by aligning
that array with __align(sizeof(void *)). That should properly align that
space according to the requirements of all architectures.

Reported-by: Jason Andrews <jasona@cadence.com>
Tested-by: Jason Andrews <jasona@cadence.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/wifi.h