From c397d46fbe4610a88c1e868d6f9ae93b52f70228 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Fri, 7 Nov 2014 19:06:09 +0000 Subject: [PATCH] staging: vt6655: always keep abyCurrentNetAddr aligned to 2 Because the driver now uses ether_addr_copy the alignment of this variable must be maintained at 2. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 55aa48b63b12..83efbfb57c79 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -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 */ -- 2.39.2