Re: [PATCH 2.5.65] pnp api changes to sound/isa/sb/es968.c

Ruslan U. Zakirov (cubic@wildrose.miee.ru)
Wed, 19 Mar 2003 17:38:28 +0300


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/