Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipmi_ssif: Fix the logic on user-supplied addresses

Returning zero is success.

Signed-off-by: Corey Minyard <cminyard@mvista.com>

+1 -1
+1 -1
drivers/char/ipmi/ipmi_ssif.c
··· 1832 1832 rv = new_ssif_client(addr[i], adapter_name[i], 1833 1833 dbg[i], slave_addrs[i], 1834 1834 SI_HARDCODED); 1835 - if (!rv) 1835 + if (rv) 1836 1836 pr_err(PFX 1837 1837 "Couldn't add hardcoded device at addr 0x%x\n", 1838 1838 addr[i]);