drivers/net: use __packed annotation
cleanup patch. Use new __packed annotation in drivers/net/ Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
1273d97674
commit
ba2d358791
@@ -36,7 +36,7 @@ struct hdlc_header {
|
||||
u8 address;
|
||||
u8 control;
|
||||
__be16 protocol;
|
||||
}__attribute__ ((packed));
|
||||
}__packed;
|
||||
|
||||
|
||||
struct cisco_packet {
|
||||
@@ -45,7 +45,7 @@ struct cisco_packet {
|
||||
__be32 par2;
|
||||
__be16 rel; /* reliability */
|
||||
__be32 time;
|
||||
}__attribute__ ((packed));
|
||||
}__packed;
|
||||
#define CISCO_PACKET_LEN 18
|
||||
#define CISCO_BIG_PACKET_LEN 20
|
||||
|
||||
|
Reference in New Issue
Block a user