Skip to content
Commit 13146ec9 authored by Thomas Chou's avatar Thomas Chou
Browse files

net: altera_tse: fix packed and aligned attribute



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: default avatarThomas Chou <thomas@wytron.com.tw>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarChin Liang See <clsee@altera.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 2cd0a52e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment