diff options
author | Corey Minyard <cminyard@mvista.com> | 2015-03-26 14:35:18 -0400 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-05-05 15:24:45 -0400 |
commit | d467f7a405cf0e7f06ed8d3175607ebb4ed06671 (patch) | |
tree | bb0be7c527029b8c62184202b17a1078dfe02e7b /drivers/char/ipmi | |
parent | d9cee5d4f66ef36f69b0108dedbad7f7009bb6a8 (diff) |
ipmi_ssif: Fix the logic on user-supplied addresses
Returning zero is success.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index f40e3bd2c69c..1de1914f5f89 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c | |||
@@ -1832,7 +1832,7 @@ static int init_ipmi_ssif(void) | |||
1832 | rv = new_ssif_client(addr[i], adapter_name[i], | 1832 | rv = new_ssif_client(addr[i], adapter_name[i], |
1833 | dbg[i], slave_addrs[i], | 1833 | dbg[i], slave_addrs[i], |
1834 | SI_HARDCODED); | 1834 | SI_HARDCODED); |
1835 | if (!rv) | 1835 | if (rv) |
1836 | pr_err(PFX | 1836 | pr_err(PFX |
1837 | "Couldn't add hardcoded device at addr 0x%x\n", | 1837 | "Couldn't add hardcoded device at addr 0x%x\n", |
1838 | addr[i]); | 1838 | addr[i]); |