public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iwlwifi: Storage class should be before const qualifier
@ 2009-12-23 13:18 Tobias Klauser
  2009-12-24  0:52 ` Zhu Yi
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2009-12-23 13:18 UTC (permalink / raw)
  To: John W. Linville, Zhu Yi, Reinette Chatre, Intel Linux Wireless
  Cc: linux-wireless, Tobias Klauser

The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 drivers/net/wireless/iwlwifi/iwl-agn-rs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
index fe511cb..b93e491 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
@@ -150,7 +150,7 @@ static s32 expected_tpt_mimo3_40MHz[4][IWL_RATE_COUNT] = {
 };
 
 /* mbps, mcs */
-const static struct iwl_rate_mcs_info iwl_rate_mcs[IWL_RATE_COUNT] = {
+static const struct iwl_rate_mcs_info iwl_rate_mcs[IWL_RATE_COUNT] = {
 	{  "1", "BPSK DSSS"},
 	{  "2", "QPSK DSSS"},
 	{"5.5", "BPSK CCK"},
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iwlwifi: Storage class should be before const qualifier
  2009-12-23 13:18 [PATCH] iwlwifi: Storage class should be before const qualifier Tobias Klauser
@ 2009-12-24  0:52 ` Zhu Yi
  0 siblings, 0 replies; 2+ messages in thread
From: Zhu Yi @ 2009-12-24  0:52 UTC (permalink / raw)
  To: Tobias Klauser
  Cc: John W. Linville, Chatre, Reinette, Intel Linux Wireless,
	linux-wireless@vger.kernel.org

On Wed, 2009-12-23 at 21:18 +0800, Tobias Klauser wrote:
> The C99 specification states in section 6.11.5:
> 
> The placement of a storage-class specifier other than at the beginning
> of the declaration specifiers in a declaration is an obsolescent
> feature.
> 
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> 

Acked-by: Zhu Yi <yi.zhu@intel.com>

Thanks,
-yi


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-24  0:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 13:18 [PATCH] iwlwifi: Storage class should be before const qualifier Tobias Klauser
2009-12-24  0:52 ` Zhu Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox