mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
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
@ -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 New Issue
Block a user