Hi Marian,
On Wed, 23 Jan 2008 13:12:19 +0100 Marian Balakowicz <[EMAIL PROTECTED]> wrote:
>
> + label = of_get_property(op->node, "label", NULL);
> + if (label == NULL) {
> + printk(KERN_ERR __FILE__ ": "
> + "No label property provided for LED %s\n",
> + op->node->full_name);
> + err = -EINVAL;
> + goto err_free;You need an iounmap(mpled->gpt) here - or preferably jump to the one in the error path below. -- Cheers, Stephen Rothwell [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgpdgjBoJsTsf.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
