* [PATCH] iwlwifi: convert new uses of __attribute__ ((packed)) to __packed
@ 2010-07-14 14:37 John W. Linville
2010-07-14 15:25 ` Guy, Wey-Yi
0 siblings, 1 reply; 2+ messages in thread
From: John W. Linville @ 2010-07-14 14:37 UTC (permalink / raw)
To: linux-wireless; +Cc: Wey-Yi Guy, John W. Linville
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
drivers/net/wireless/iwlwifi/iwl-commands.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 8d2db9d..f1c0e68 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -1245,7 +1245,7 @@ struct iwl_txfifo_flush_cmd {
__le32 fifo_control;
__le16 flush_control;
__le16 reserved;
-} __attribute__ ((packed));
+} __packed;
/*
* REPLY_WEP_KEY = 0x20
@@ -3547,7 +3547,7 @@ struct iwl_sensitivity_cmd {
struct iwl_enhance_sensitivity_cmd {
__le16 control; /* always use "1" */
__le16 enhance_table[ENHANCE_HD_TABLE_SIZE]; /* use HD_* as index */
-} __attribute__ ((packed));
+} __packed;
/**
--
1.7.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iwlwifi: convert new uses of __attribute__ ((packed)) to __packed
2010-07-14 14:37 [PATCH] iwlwifi: convert new uses of __attribute__ ((packed)) to __packed John W. Linville
@ 2010-07-14 15:25 ` Guy, Wey-Yi
0 siblings, 0 replies; 2+ messages in thread
From: Guy, Wey-Yi @ 2010-07-14 15:25 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-wireless@vger.kernel.org
Hi John,
On Wed, 2010-07-14 at 07:37 -0700, John W. Linville wrote:
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
> ---
> drivers/net/wireless/iwlwifi/iwl-commands.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
> index 8d2db9d..f1c0e68 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-commands.h
> +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
> @@ -1245,7 +1245,7 @@ struct iwl_txfifo_flush_cmd {
> __le32 fifo_control;
> __le16 flush_control;
> __le16 reserved;
> -} __attribute__ ((packed));
> +} __packed;
>
> /*
> * REPLY_WEP_KEY = 0x20
> @@ -3547,7 +3547,7 @@ struct iwl_sensitivity_cmd {
> struct iwl_enhance_sensitivity_cmd {
> __le16 control; /* always use "1" */
> __le16 enhance_table[ENHANCE_HD_TABLE_SIZE]; /* use HD_* as index */
> -} __attribute__ ((packed));
> +} __packed;
>
>
> /**
Thanks
Wey
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-14 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 14:37 [PATCH] iwlwifi: convert new uses of __attribute__ ((packed)) to __packed John W. Linville
2010-07-14 15:25 ` Guy, Wey-Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).