]> Git Repo - u-boot.git/commit
net: altera_tse: fix packed and aligned attribute
authorThomas Chou <[email protected]>
Fri, 6 Nov 2015 01:36:41 +0000 (09:36 +0800)
committerThomas Chou <[email protected]>
Fri, 6 Nov 2015 04:56:46 +0000 (12:56 +0800)
commit13146ec9380364c46dbc9473faff5707351935cc
treea236c18a68b6a0d8499c8ab3bd87d815424afb48
parent2cd0a52ece530f790c5cf661180f91e5c0b57117
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: Thomas Chou <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Reviewed-by: Chin Liang See <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/altera_tse.h
This page took 0.029456 seconds and 4 git commands to generate.