Skip to content

Commit

Permalink
ipmi_ssif: Fix the logic on user-supplied addresses
Browse files Browse the repository at this point in the history
Returning zero is success.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
  • Loading branch information
cminyard committed May 5, 2015
1 parent d9cee5d commit d467f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/ipmi/ipmi_ssif.c
Expand Up @@ -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]);
Expand Down

0 comments on commit d467f7a

Please sign in to comment.