[U-Boot] [PATCH 2/6] net: altera_tse: fix packed and aligned attribute
Chin Liang See
clsee at altera.com
Wed Nov 4 17:06:30 CET 2015
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 <thomas at wytron.com.tw>
Reviewed-by: Chin Liang See <clsee at altera.com>
Thanks
Chin Liang
More information about the U-Boot
mailing list