IWL: fix WARN typo
PATCH 1/1 IWL: fix WARN typo
new kew -> a new key
--- drivers/net/wireless/iwlwifi/iwl-sta.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/iwlwifi/iwl-sta.c +1 -1
@@ -638,7 +638,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;
Signature · 1 line
1.6.0.6
Quoted 1 line · Jiri Slaby
new kew -> a new key
...
drivers/net/wireless/iwlwifi/iwl-sta.c static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv, · line 641
Quoted 2 lines
drivers/net/wireless/iwlwifi/iwl-sta.c +1
-1- "no space for new kew"); + "no space for a new key");
There are more of them, hold on, I'll post an updated one.
PATCH 1/1 IWL: fix WARN typo
In reply to Jiri Slabynew kew -> a new key
--- drivers/net/wireless/iwlwifi/iwl-sta.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/iwlwifi/iwl-sta.c +3 -3
@@ -638,7 +638,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;
@@ -686,7 +686,7 @@ static int iwl_set_ccmp_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;
@@ -722,7 +722,7 @@ static int iwl_set_tkip_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" );/* This copy is acutally not needed: we get the key with each TX */ memcpy (priv->stations[sta_id].keyinfo.key, keyconf->key,16 );
Signature · 1 line
1.6.0.6
Is the way it is now problematic for non-native English speakers? Or native ones for that matter?
Dropping an article in a "computer-ese" statement has never bothered me, so this seems like just a handful of unnecessary string bytes?
John
Quoted 44 lines · Jiri Slaby
new kew -> a new key
Signed-off-by Jiri Slaby <[email protected]>Cc Tomas Winkler <[email protected]>Cc John W. Linville <[email protected]>--- drivers/net/wireless/iwlwifi/iwl-sta.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/iwlwifi/iwl-sta.c +3
-3@@ -638,7 +638,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;@@ -686,7 +686,7 @@ static int iwl_set_ccmp_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;@@ -722,7 +722,7 @@ static int iwl_set_tkip_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" );/* This copy is acutally not needed: we get the key with each TX */ memcpy (priv->stations[sta_id].keyinfo.key, keyconf->key,16 );Signature · 1 line
1.6.0.6
Signature · 2 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle.
People have pointed-out the "kew -> key" part of the patch. Any thoughts on "new key" vs. "a new key"?
John
Quoted 62 lines · John W. Linville
Is the way it is now problematic for non-native English speakers? Or native ones for that matter?
Dropping an article in a "computer-ese" statement has never bothered me, so this seems like just a handful of unnecessary string bytes?
John
Quoted 44 lines · Jiri Slaby
new kew -> a new key
Signed-off-by Jiri Slaby <[email protected]>Cc Tomas Winkler <[email protected]>Cc John W. Linville <[email protected]>--- drivers/net/wireless/iwlwifi/iwl-sta.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/iwlwifi/iwl-sta.c +3
-3@@ -638,7 +638,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;@@ -686,7 +686,7 @@ static int iwl_set_ccmp_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" ); priv->stations[sta_id].sta.key.key_flags = key_flags; priv->stations[sta_id].sta.sta.modify_mask =STA_MODIFY_KEY_MASK ;@@ -722,7 +722,7 @@ static int iwl_set_tkip_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" );/* This copy is acutally not needed: we get the key with each TX */ memcpy (priv->stations[sta_id].keyinfo.key, keyconf->key,16 );Signature · 1 line
1.6.0.6Signature · 6 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle.
Johannes Berg
maintainerQuoted 2 lines · John W. Linville
People have pointed-out the "kew -> key" part of the patch. Any thoughts on "new key" vs. "a new key"?
As I said, if anything it should be "the", not "a" imho.
johannes
Johannes Berg
maintainerQuoted 14 lines · Jiri Slaby
new kew -> a new key
Signed-off-by Jiri Slaby <[email protected]>Cc Tomas Winkler <[email protected]>Cc John W. Linville <[email protected]>--- drivers/net/wireless/iwlwifi/iwl-sta.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/net/wireless/iwlwifi/iwl-sta.c +0
-0
drivers/net/wireless/iwlwifi/iwl-sta.c static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv, · line 641
Quoted 5 lines
drivers/net/wireless/iwlwifi/iwl-sta.c +1
-1@@ -638,7 +638,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,* in uCode. */ WARN (priv->stations[sta_id].sta.key.key_offset ==WEP_INVALID_OFFSET , -"no space for new kew" ); +"no space for a new key" );
Eh, if anything shouldn't that be "the new key"?
johannes