提交 d467f7a4 编写于 作者: C Corey Minyard

ipmi_ssif: Fix the logic on user-supplied addresses

Returning zero is success.
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
上级 d9cee5d4
无相关合并请求
......@@ -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]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部