Re: [patchset] Fix mishandling of error/exit patchs in 2.5 -- 1/3 dpt_i2o

Ravikiran G Thirumalai (kiran@in.ibm.com)
Thu, 12 Jun 2003 12:44:21 +0530


--- linux-2.5.70-bk/drivers/scsi/dpt_i2o.c 2003-06-11 20:56:14.000000000 +0530
+++ bklatest/drivers/scsi/dpt_i2o.c 2003-06-11 21:37:28.000000000 +0530
@@ -2538,7 +2538,7 @@

if(pHba->initialized ) {
if (adpt_i2o_status_get(pHba) < 0) {
- if((rcode = adpt_i2o_reset_hba(pHba) != 0)){
+ if((rcode = adpt_i2o_reset_hba(pHba)) != 0){
printk(KERN_WARNING"%s: Could NOT reset.\n", pHba->name);
return rcode;
}
@@ -2564,7 +2564,7 @@
}
}
} else {
- if((rcode = adpt_i2o_reset_hba(pHba) != 0)){
+ if((rcode = adpt_i2o_reset_hba(pHba)) != 0){
printk(KERN_WARNING"%s: Could NOT reset.\n", pHba->name);
return rcode;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/