Skip to contentSkip to conversation

IWL: fix WARN typo

PATCH In review Jiri Slaby 3 participants 7 messages Jan 5, 2009 – Jan 9, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 IWL: fix WARN typo

new kew -> a new key

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 +1 -1
index 412f66b..b28564a 100644
@@ -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
author
#1 lore raw
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.

author
#2 lore raw

PATCH 1/1 IWL: fix WARN typo

In reply to Jiri Slaby

new kew -> a new key

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
index 412f66b..ce2ba40 100644
@@ -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
maintainer
#6 lore raw
In reply to Jiri Slaby
Quoted 14 lines · Jiri Slaby

new kew -> a new key

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
index 412f66b..b28564a 100644

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

#3 lore raw
In reply to Jiri Slaby

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

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
index 412f66b..ce2ba40 100644
@@ -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.
#4 lore raw

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

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
index 412f66b..ce2ba40 100644
@@ -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 · 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.
maintainer
#5 lore raw
Quoted 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