Commit d467f7a4 authored by Corey Minyard's avatar Corey Minyard

ipmi_ssif: Fix the logic on user-supplied addresses

Returning zero is success.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent d9cee5d4
...@@ -1832,7 +1832,7 @@ static int init_ipmi_ssif(void) ...@@ -1832,7 +1832,7 @@ static int init_ipmi_ssif(void)
rv = new_ssif_client(addr[i], adapter_name[i], rv = new_ssif_client(addr[i], adapter_name[i],
dbg[i], slave_addrs[i], dbg[i], slave_addrs[i],
SI_HARDCODED); SI_HARDCODED);
if (!rv) if (rv)
pr_err(PFX pr_err(PFX
"Couldn't add hardcoded device at addr 0x%x\n", "Couldn't add hardcoded device at addr 0x%x\n",
addr[i]); addr[i]);
......
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