projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f8135c
)
sfc: Use __packed macro
author
Ben Hutchings
<bhutchings@solarflare.com>
Fri, 16 May 2008 20:19:21 +0000
(21:19 +0100)
committer
Jeff Garzik
<jgarzik@redhat.com>
Thu, 22 May 2008 09:59:32 +0000
(
05:59
-0400)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/falcon_hwdefs.h
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/falcon_hwdefs.h
b/drivers/net/sfc/falcon_hwdefs.h
index
06e2d68
..
6d00311
100644
(file)
--- a/
drivers/net/sfc/falcon_hwdefs.h
+++ b/
drivers/net/sfc/falcon_hwdefs.h
@@
-1125,7
+1125,7
@@
struct falcon_nvconfig_board_v2 {
u8 port1_phy_type;
__le16 asic_sub_revision;
__le16 board_revision;
-} __
attribute__ ((packed))
;
+} __
packed
;
#define NVCONFIG_BASE 0x300
#define NVCONFIG_BOARD_MAGIC_NUM 0xFA1C
@@
-1144,6
+1144,6
@@
struct falcon_nvconfig {
__le16 board_struct_ver;
__le16 board_checksum;
struct falcon_nvconfig_board_v2 board_v2;
-} __
attribute__ ((packed))
;
+} __
packed
;
#endif /* EFX_FALCON_HWDEFS_H */