summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/r819xU_cmdpkt.h
diff options
context:
space:
mode:
authorXenia Ragiadakou2013-10-10 09:43:55 +0200
committerGreg Kroah-Hartman2013-10-12 00:42:54 +0200
commit889cfe2f03b2a76dd850a31b4031405941b7a551 (patch)
tree8fe1022104f45e3f43724007dc2fdfdd052e45ab /drivers/staging/rtl8192u/r819xU_cmdpkt.h
parentstaging: rtl8192u: fix open brace position in r819xU_cmdpkt.h (diff)
downloadkernel-qcow2-linux-889cfe2f03b2a76dd850a31b4031405941b7a551.tar.gz
kernel-qcow2-linux-889cfe2f03b2a76dd850a31b4031405941b7a551.tar.xz
kernel-qcow2-linux-889cfe2f03b2a76dd850a31b4031405941b7a551.zip
staging: rtl8192u: use __packed instead of __attribute__((packed))
This patch fixes the following checkpatch warning: WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_cmdpkt.h')
-rw-r--r--drivers/staging/rtl8192u/r819xU_cmdpkt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b/drivers/staging/rtl8192u/r819xU_cmdpkt.h
index 6f213819a17f..52cd437ef7bb 100644
--- a/drivers/staging/rtl8192u/r819xU_cmdpkt.h
+++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.h
@@ -124,7 +124,7 @@ typedef struct tag_tx_stats_feedback {
u16 reserve3_23;
u8 reserve3_1;
u8 rate;
-} __attribute__((packed)) cmpk_tx_status_t;
+} __packed cmpk_tx_status_t;
/* 6. Debug feedback message. */
/* Define RX debug message */
@@ -161,7 +161,7 @@ typedef struct tag_tx_rate_history {
*/
u16 ht_mcs[4][16];
-} __attribute__((packed)) cmpk_tx_rahis_t;
+} __packed cmpk_tx_rahis_t;
typedef enum tag_command_packet_directories {
RX_TX_FEEDBACK = 0,