Re: [patchset] Fix sign handling bugs in 2.5 -- 3/5; mpt fusion

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


--- linux-2.5.70/drivers/message/fusion/mptbase.c Tue May 27 06:30:26 2003
+++ shb-mpt-2.5.70/drivers/message/fusion/mptbase.c Wed Jun 11 15:11:44 2003
@@ -1822,6 +1822,7 @@
if (this != NULL) {
int sz;
u32 state;
+ int ret;

/* Disable the FW */
state = mpt_GetIocState(this, 1);
@@ -1832,9 +1833,9 @@
if (this->cached_fw != NULL) {
ddlprintk((KERN_INFO MYNAM ": Pushing FW onto adapter\n"));

- if ((state = mpt_downloadboot(this, NO_SLEEP)) < 0) {
+ if ((ret = mpt_downloadboot(this, NO_SLEEP)) < 0) {
printk(KERN_WARNING MYNAM
- ": firmware downloadboot failure (%d)!\n", state);
+ ": firmware downloadboot failure (%d)!\n", ret);
}
}

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