aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorbrking@us.ibm.com <brking@us.ibm.com>2005-11-01 18:00:41 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-06 14:01:17 -0500
commita9cfca9622d660daf9422c2f041828e017eba58b (patch)
tree4116cd846d4115eaaf101a488bbf475038195aef /drivers
parent6837c2bfda46887badf93ff67ace578877071984 (diff)
[SCSI] ipr: Handle unknown errors
Better handle errors received which are not known to the device driver. Just dump the hex data so that we have a hope of figuring out what went wrong. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/ipr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index aa6e14b5ebb2..40763b64e9eb 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -1157,12 +1157,8 @@ static void ipr_handle_log_data(struct ipr_ioa_cfg *ioa_cfg,
1157 ipr_log_array_error(ioa_cfg, hostrcb); 1157 ipr_log_array_error(ioa_cfg, hostrcb);
1158 break; 1158 break;
1159 case IPR_HOST_RCB_OVERLAY_ID_DEFAULT: 1159 case IPR_HOST_RCB_OVERLAY_ID_DEFAULT:
1160 ipr_log_generic_error(ioa_cfg, hostrcb);
1161 break;
1162 default: 1160 default:
1163 dev_err(&ioa_cfg->pdev->dev, 1161 ipr_log_generic_error(ioa_cfg, hostrcb);
1164 "Unknown error received. Overlay ID: %d\n",
1165 hostrcb->hcam.overlay_id);
1166 break; 1162 break;
1167 } 1163 }
1168} 1164}