rtlwifi: Align private space in rtl_priv struct
authorLarry Finger <[email protected]>
Thu, 19 Sep 2013 02:21:35 +0000 (21:21 -0500)
committerJohn W. Linville <[email protected]>
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 <[email protected]>
Tested-by: Jason Andrews <[email protected]>
Signed-off-by: Larry Finger <[email protected]>
Cc: Stable <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/rtlwifi/wifi.h