]> err.no Git - linux-2.6/commitdiff
Make all the places the firmware fails to load showerrors (in decimal,
authorPeter Jones <pjones@redhat.com>
Fri, 26 Aug 2005 05:33:34 +0000 (00:33 -0500)
committerJames Ketrenos <jketreno@linux.intel.com>
Mon, 7 Nov 2005 23:51:19 +0000 (17:51 -0600)
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>
drivers/net/wireless/ipw2200.c

index bda292f7f82c0be6b555f91dafa22f0e60fad231..79697e8e8d966f0e930eed549a9b55225409e6cb 100644 (file)
@@ -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;
        }
 
@@ -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;
        }
 
@@ -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;
        }
 
@@ -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;
                }