staging: vt6655: always keep abyCurrentNetAddr aligned to 2
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 7 Nov 2014 19:06:09 +0000 (19:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 21:36:54 +0000 (13:36 -0800)
Because the driver now uses ether_addr_copy the alignment of this
variable must be maintained at 2.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h

index 55aa48b..83efbfb 100644 (file)
@@ -283,7 +283,7 @@ struct vnt_private {
        bool bZoneRegExist;
        unsigned char byOriginalZonetype;
 
-       unsigned char abyCurrentNetAddr[ETH_ALEN];
+       unsigned char abyCurrentNetAddr[ETH_ALEN]; __aligned(2)
        bool bLinkPass;          /* link status: OK or fail */
 
        /* Adapter statistics */