[U-Boot] [PATCH v2 3/5] net: altera_tse: fix packed and aligned attribute
Joe Hershberger
joe.hershberger at gmail.com
Thu Nov 5 23:09:13 CET 2015
On Thu, Nov 5, 2015 at 6:54 AM, Thomas Chou <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 <thomas at wytron.com.tw>
> Reviewed-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Chin Liang See <clsee at altera.com>
Acked-by: Joe Hershberger <joe.hersherger at ni.com>
More information about the U-Boot
mailing list