Staging: wilc1000:Use __packed instead of __attribute__((packed))
PATCH v2 1/1 Staging: wilc1000:Use __packed instead of __attribute__((packed))
This patch fixes the following warning: "__packed is preferred over __attribute__((packed))" as reported by checkpatch.pl.
Fixed by replacing __attribute__((packed)) over __packed.
Signed-off-by Rakhi Sharma <[email protected]>
---
Changes in v2:
-Modify the subject and commit log.
drivers/staging/wilc1000/linux_mon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/wilc1000/linux_mon.c +2 -2
@@ -15,14 +15,14 @@struct wilc_wfi_radiotap_hdr {struct ieee80211_radiotap_header hdr;u8 rate; -} __attribute__((packed)); +} __packed;struct wilc_wfi_radiotap_cb_hdr {struct ieee80211_radiotap_header hdr;u8 rate;u8 dump;u16 tx_flags; -} __attribute__((packed)); +} __packed;static struct net_device *wilc_wfi_mon;/* global monitor netdev */
Signature · 1 line
1.9.1