aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-eeprom.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-08-11 17:49:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-18 11:05:13 -0400
commit6f14792610905fe006c0c3c4d9e1478fb6be7cec (patch)
tree4f09f466a3a7efacc0f97ec3d5505924cf0051d0 /drivers/net/wireless/iwlwifi/iwl-eeprom.c
parentfcd7cc1496681f7241ef8b80f32bb35d72a4e78b (diff)
iwlwifi: fix printk newlines
Add newlines at printk outputs to not break dmesg. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Zhu Yi <yi.zhu@intel.com> Cc: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-eeprom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c
index bce53830b301..19985bf0dccf 100644
--- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c
+++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c
@@ -146,7 +146,7 @@ int iwlcore_eeprom_verify_signature(struct iwl_priv *priv)
146{ 146{
147 u32 gp = iwl_read32(priv, CSR_EEPROM_GP); 147 u32 gp = iwl_read32(priv, CSR_EEPROM_GP);
148 if ((gp & CSR_EEPROM_GP_VALID_MSK) == CSR_EEPROM_GP_BAD_SIGNATURE) { 148 if ((gp & CSR_EEPROM_GP_VALID_MSK) == CSR_EEPROM_GP_BAD_SIGNATURE) {
149 IWL_ERROR("EEPROM not found, EEPROM_GP=0x%08x", gp); 149 IWL_ERROR("EEPROM not found, EEPROM_GP=0x%08x\n", gp);
150 return -ENOENT; 150 return -ENOENT;
151 } 151 }
152 return 0; 152 return 0;
@@ -227,7 +227,7 @@ int iwl_eeprom_init(struct iwl_priv *priv)
227 227
228 ret = priv->cfg->ops->lib->eeprom_ops.verify_signature(priv); 228 ret = priv->cfg->ops->lib->eeprom_ops.verify_signature(priv);
229 if (ret < 0) { 229 if (ret < 0) {
230 IWL_ERROR("EEPROM not found, EEPROM_GP=0x%08x", gp); 230 IWL_ERROR("EEPROM not found, EEPROM_GP=0x%08x\n", gp);
231 ret = -ENOENT; 231 ret = -ENOENT;
232 goto err; 232 goto err;
233 } 233 }
@@ -254,7 +254,7 @@ int iwl_eeprom_init(struct iwl_priv *priv)
254 } 254 }
255 255
256 if (!(r & CSR_EEPROM_REG_READ_VALID_MSK)) { 256 if (!(r & CSR_EEPROM_REG_READ_VALID_MSK)) {
257 IWL_ERROR("Time out reading EEPROM[%d]", addr); 257 IWL_ERROR("Time out reading EEPROM[%d]\n", addr);
258 ret = -ETIMEDOUT; 258 ret = -ETIMEDOUT;
259 goto done; 259 goto done;
260 } 260 }