Commit b1e65e71 authored by Corey Minyard's avatar Corey Minyard

ipmi: Don't report err in the SI driver for SSIF devices

Really ignore them by returning -ENODEV from the probe, but not
doing anything.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 5e33cd0c
...@@ -2244,7 +2244,7 @@ static int ipmi_pnp_probe(struct pnp_dev *dev, ...@@ -2244,7 +2244,7 @@ static int ipmi_pnp_probe(struct pnp_dev *dev,
acpi_handle handle; acpi_handle handle;
acpi_status status; acpi_status status;
unsigned long long tmp; unsigned long long tmp;
int rv; int rv = -EINVAL;
acpi_dev = pnp_acpi_device(dev); acpi_dev = pnp_acpi_device(dev);
if (!acpi_dev) if (!acpi_dev)
...@@ -2276,6 +2276,7 @@ static int ipmi_pnp_probe(struct pnp_dev *dev, ...@@ -2276,6 +2276,7 @@ static int ipmi_pnp_probe(struct pnp_dev *dev,
info->si_type = SI_BT; info->si_type = SI_BT;
break; break;
case 4: /* SSIF, just ignore */ case 4: /* SSIF, just ignore */
rv = -ENODEV;
goto err_free; goto err_free;
default: default:
dev_info(&dev->dev, "unknown IPMI type %lld\n", tmp); dev_info(&dev->dev, "unknown IPMI type %lld\n", tmp);
...@@ -2336,7 +2337,7 @@ static int ipmi_pnp_probe(struct pnp_dev *dev, ...@@ -2336,7 +2337,7 @@ static int ipmi_pnp_probe(struct pnp_dev *dev,
err_free: err_free:
kfree(info); kfree(info);
return -EINVAL; return rv;
} }
static void ipmi_pnp_remove(struct pnp_dev *dev) static void ipmi_pnp_remove(struct pnp_dev *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment