projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9cee5d
)
ipmi_ssif: Fix the logic on user-supplied addresses
author
Corey Minyard
<cminyard@mvista.com>
Thu, 26 Mar 2015 18:35:18 +0000
(13:35 -0500)
committer
Corey Minyard
<cminyard@mvista.com>
Tue, 5 May 2015 19:24:45 +0000
(14:24 -0500)
Returning zero is success.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ssif.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/ipmi/ipmi_ssif.c
b/drivers/char/ipmi/ipmi_ssif.c
index f40e3bd2c69c265400f1241900be8dddd26b51e8..1de1914f5f89634f11f1412e9f90ba1962481460 100644
(file)
--- a/
drivers/char/ipmi/ipmi_ssif.c
+++ b/
drivers/char/ipmi/ipmi_ssif.c
@@
-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]);