From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Wed, 4 Nov 2015 10:06:30 -0600 Subject: [U-Boot] [PATCH 2/6] net: altera_tse: fix packed and aligned attribute In-Reply-To: <1446628349-26749-2-git-send-email-thomas@wytron.com.tw> References: <1446628349-26749-1-git-send-email-thomas@wytron.com.tw> <1446628349-26749-2-git-send-email-thomas@wytron.com.tw> Message-ID: <1446653190.4383.1.camel@clsee-VirtualBox> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2015-11-04 at 17:12 +0800, thomas at wytron.com.tw wrote: > Fix packed and aligned attribute warnings. > > WARNING: __packed is preferred over __attribute__((packed)) > #14: FILE: drivers/net/altera_tse.h:14: > +#define __packed_1_ __attribute__ ((packed, aligned(1))) > > WARNING: __aligned(size) is preferred over > __attribute__((aligned(size))) > #14: FILE: drivers/net/altera_tse.h:14: > +#define __packed_1_ __attribute__ ((packed, aligned(1))) > > Signed-off-by: Thomas Chou Reviewed-by: Chin Liang See Thanks Chin Liang