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

From: Ravikiran G Thirumalai (kiran@in.ibm.com)
Date: Thu Jun 12 2003 - 02:14:21 EST


--- 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/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:31 EST