staging: wilc1000: Use __packed instead of __attribute__((packed))
PATCH 1/1 staging: wilc1000: Use __packed instead of __attribute__((packed))
This patch fixes the warning: "__packed is preferred over __attribute__((packed))" as reported by checkpatch.pl.
Signed-off-by Rakhi Sharma <[email protected]>
--- 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
Greg KH
maintainerQuoted 7 lines · Rakhi Sharma
This patch fixes the warning: "
__packedis preferred over __attribute__((packed))" as reported by checkpatch.pl.Signed-off-by Rakhi Sharma <[email protected]>--- drivers/staging/wilc1000/linux_mon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This is already in my tree :(