ipmi_ssif: Fix the logic on user-supplied addresses
Returning zero is success. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
d9cee5d4f6
commit
d467f7a405
1 changed files with 1 additions and 1 deletions
|
@ -1832,7 +1832,7 @@ static int init_ipmi_ssif(void)
|
|||
rv = new_ssif_client(addr[i], adapter_name[i],
|
||||
dbg[i], slave_addrs[i],
|
||||
SI_HARDCODED);
|
||||
if (!rv)
|
||||
if (rv)
|
||||
pr_err(PFX
|
||||
"Couldn't add hardcoded device at addr 0x%x\n",
|
||||
addr[i]);
|
||||
|
|
Loading…
Reference in a new issue