Loading drivers/net/3c527.h +3 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ struct mc32_mailbox { u16 mbox; u16 data[1]; } __attribute((packed)); } __packed; struct skb_header { Loading @@ -43,7 +43,7 @@ struct skb_header u16 next; /* Do not change! */ u16 length; u32 data; } __attribute((packed)); } __packed; struct mc32_stats { Loading @@ -68,7 +68,7 @@ struct mc32_stats u32 dataA[6]; u16 dataB[5]; u32 dataC[14]; } __attribute((packed)); } __packed; #define STATUS_MASK 0x0F #define COMPLETED (1<<7) Loading drivers/net/8139cp.c +1 −1 Original line number Diff line number Diff line Loading @@ -322,7 +322,7 @@ struct cp_dma_stats { __le32 rx_ok_mcast; __le16 tx_abort; __le16 tx_underrun; } __attribute__((packed)); } __packed; struct cp_extra_stats { unsigned long rx_frags; Loading drivers/net/atlx/atl1.h +2 −2 Original line number Diff line number Diff line Loading @@ -436,8 +436,8 @@ struct rx_free_desc { __le16 buf_len; /* Size of the receive buffer in host memory */ u16 coalese; /* Update consumer index to host after the * reception of this frame */ /* __attribute__ ((packed)) is required */ } __attribute__ ((packed)); /* __packed is required */ } __packed; /* * The L1 transmit packet descriptor is comprised of four 32-bit words. Loading drivers/net/can/mscan/mscan.h +1 −1 Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ struct mscan_regs { u16 time; /* + 0x7c 0x3e */ } tx; _MSCAN_RESERVED_(32, 2); /* + 0x7e */ } __attribute__ ((packed)); } __packed; #undef _MSCAN_RESERVED_ #define MSCAN_REGION sizeof(struct mscan) Loading drivers/net/can/usb/ems_usb.c +1 −1 Original line number Diff line number Diff line Loading @@ -197,7 +197,7 @@ struct cpc_can_err_counter { }; /* Main message type used between library and application */ struct __attribute__ ((packed)) ems_cpc_msg { struct __packed ems_cpc_msg { u8 type; /* type of message */ u8 length; /* length of data within union 'msg' */ u8 msgid; /* confirmation handle */ Loading Loading
drivers/net/3c527.h +3 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ struct mc32_mailbox { u16 mbox; u16 data[1]; } __attribute((packed)); } __packed; struct skb_header { Loading @@ -43,7 +43,7 @@ struct skb_header u16 next; /* Do not change! */ u16 length; u32 data; } __attribute((packed)); } __packed; struct mc32_stats { Loading @@ -68,7 +68,7 @@ struct mc32_stats u32 dataA[6]; u16 dataB[5]; u32 dataC[14]; } __attribute((packed)); } __packed; #define STATUS_MASK 0x0F #define COMPLETED (1<<7) Loading
drivers/net/8139cp.c +1 −1 Original line number Diff line number Diff line Loading @@ -322,7 +322,7 @@ struct cp_dma_stats { __le32 rx_ok_mcast; __le16 tx_abort; __le16 tx_underrun; } __attribute__((packed)); } __packed; struct cp_extra_stats { unsigned long rx_frags; Loading
drivers/net/atlx/atl1.h +2 −2 Original line number Diff line number Diff line Loading @@ -436,8 +436,8 @@ struct rx_free_desc { __le16 buf_len; /* Size of the receive buffer in host memory */ u16 coalese; /* Update consumer index to host after the * reception of this frame */ /* __attribute__ ((packed)) is required */ } __attribute__ ((packed)); /* __packed is required */ } __packed; /* * The L1 transmit packet descriptor is comprised of four 32-bit words. Loading
drivers/net/can/mscan/mscan.h +1 −1 Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ struct mscan_regs { u16 time; /* + 0x7c 0x3e */ } tx; _MSCAN_RESERVED_(32, 2); /* + 0x7e */ } __attribute__ ((packed)); } __packed; #undef _MSCAN_RESERVED_ #define MSCAN_REGION sizeof(struct mscan) Loading
drivers/net/can/usb/ems_usb.c +1 −1 Original line number Diff line number Diff line Loading @@ -197,7 +197,7 @@ struct cpc_can_err_counter { }; /* Main message type used between library and application */ struct __attribute__ ((packed)) ems_cpc_msg { struct __packed ems_cpc_msg { u8 type; /* type of message */ u8 length; /* length of data within union 'msg' */ u8 msgid; /* confirmation handle */ Loading