On Mon, Jul 26, 2010 at 10:46:04PM +0800, [email protected] 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 | [email protected] ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
