On Mon, Jul 26, 2010 at 10:46:04PM +0800, yakui.zhao@xxxxxxxxx wrote: > @@ -2133,6 +2142,11 @@ static int __devinit ipmi_pnp_probe(struct pnp_dev *dev, > if (!info) > return -ENOMEM; > > + pnp_ipmi = kzalloc(sizeof(*pnp_ipmi), GFP_KERNEL); > + if (!pnp_ipmi) { > + kfree(info); > + return -ENOMEM; > + } This will never get called if the hardware has a PCI IPMI interface. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html