summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_mon.c
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-02-01 21:26:37 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 15:34:29 -0800
commitd8c7d2b35d156e4faccfe2742b6c58492b60d065 (patch)
tree26faf8ee9914f8f8cea1c42f9183ff7ccf85eb2a /drivers/staging/wilc1000/linux_mon.c
parent8231dfc0879f8f0caecfcdc4b1ebae67cad6878d (diff)
downloadop-kernel-dev-d8c7d2b35d156e4faccfe2742b6c58492b60d065.zip
op-kernel-dev-d8c7d2b35d156e4faccfe2742b6c58492b60d065.tar.gz
staging: wilc1000: linux_mon: use __packed instead of __attribute__((packed))
This patch fixes the following checkpatch warning: WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_mon.c')
-rw-r--r--drivers/staging/wilc1000/linux_mon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c
index e550027..284dfb0 100644
--- a/drivers/staging/wilc1000/linux_mon.c
+++ b/drivers/staging/wilc1000/linux_mon.c
@@ -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 */
OpenPOWER on IntegriCloud