Commit 12bac367 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Parenthesisation fix in dpt_i2o

From: Ravikiran G Thirumalai <kiran@in.ibm.com>

Fix parenthesisation in a combined assign-and-check-error statement.
parent bf470875
...@@ -2538,7 +2538,7 @@ static int adpt_i2o_activate_hba(adpt_hba* pHba) ...@@ -2538,7 +2538,7 @@ static int adpt_i2o_activate_hba(adpt_hba* pHba)
if(pHba->initialized ) { if(pHba->initialized ) {
if (adpt_i2o_status_get(pHba) < 0) { 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); printk(KERN_WARNING"%s: Could NOT reset.\n", pHba->name);
return rcode; return rcode;
} }
...@@ -2564,7 +2564,7 @@ static int adpt_i2o_activate_hba(adpt_hba* pHba) ...@@ -2564,7 +2564,7 @@ static int adpt_i2o_activate_hba(adpt_hba* pHba)
} }
} }
} else { } 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); printk(KERN_WARNING"%s: Could NOT reset.\n", pHba->name);
return rcode; return rcode;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment