JK> Following patch is to make ESS968 driver to work with PNP API.
JK> + printk(KERN_ERR PFX "AUDIO the requested resources are invalid, using auto config\n");
JK> + err = pnp_activate_dev(pdev);
JK> + if (err < 0) {
JK> + printk(KERN_ERR PFX "AUDIO pnp configure failure\n");
JK> + return err;
JK> + }
Hello, John and other.
You've forgot to kfree(cfg) in the error path.
Best regards, Ruslan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:27 EST