lkml.org 
[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patchset] Fix mishandling of error/exit patchs in 2.5 -- 1/3 dpt_i2o

--- 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/
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.024 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site