Re: [PATCH] ASoC: Fix resource leak if soc_register_ac97_dai_link failed

From: Axel Lin
Date: Tue Jan 11 2011 - 20:43:22 EST


> this isnt entirely correct.  soc_unregister_ac97_dai_link takes a
> pointer to a codec which card->rtd[i] is not.
> sound/soc/soc-core.c: In function ‘snd_soc_instantiate_card’:
> sound/soc/soc-core.c:1626: warning: passing argument 1 of
> ‘soc_unregister_ac97_dai_link’ from incompatible pointer type
> -mike
>

Ooops. my bad.
I will send a patch for 2.6.37 to fix it.
Thanks for report this bug.

Regards,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/