Skip to content

Commit

Permalink
Make all the places the firmware fails to load showerrors (in decimal,
Browse files Browse the repository at this point in the history
so you can cross-reference errno.h easily).

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
  • Loading branch information
Peter Jones authored and James Ketrenos committed Nov 7, 2005
1 parent 054b08d commit a4f6bbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -3304,7 +3304,7 @@ static int ipw_load(struct ipw_priv *priv)
rc = ipw_load_firmware(priv, bootfw->data + sizeof(struct fw_header),
bootfw->size - sizeof(struct fw_header));
if (rc < 0) {
IPW_ERROR("Unable to load boot firmware\n");
IPW_ERROR("Unable to load boot firmware: %d\n", rc);
goto error;
}

Expand All @@ -3327,7 +3327,7 @@ static int ipw_load(struct ipw_priv *priv)
rc = ipw_load_ucode(priv, ucode->data + sizeof(struct fw_header),
ucode->size - sizeof(struct fw_header));
if (rc < 0) {
IPW_ERROR("Unable to load ucode\n");
IPW_ERROR("Unable to load ucode: %d\n", rc);
goto error;
}

Expand All @@ -3339,7 +3339,7 @@ static int ipw_load(struct ipw_priv *priv)
sizeof(struct fw_header),
firmware->size - sizeof(struct fw_header));
if (rc < 0) {
IPW_ERROR("Unable to load firmware\n");
IPW_ERROR("Unable to load firmware: %d\n", rc);
goto error;
}

Expand Down Expand Up @@ -10958,7 +10958,7 @@ static int ipw_up(struct ipw_priv *priv)
* Also start the clocks. */
rc = ipw_load(priv);
if (rc) {
IPW_ERROR("Unable to load firmware: 0x%08X\n", rc);
IPW_ERROR("Unable to load firmware: %d\n", rc);
return rc;
}

Expand Down

0 comments on commit a4f6bbb

Please sign in to comment.