[alsa-devel] [PATCH 03/31] ASoC: max98095: Use WARN_ON() instead of BUG_ON()

Mark Brown broonie at kernel.org
Wed Nov 6 11:17:58 CET 2013


On Tue, Nov 05, 2013 at 06:39:50PM +0100, Takashi Iwai wrote:
> BUG_ON() is rather useless for debugging as it leads to panic().

That doesn't really follow, they print out an obvious error message and
force people to pay attention to it.  Sometimes that's the desired
effect.

Anyway, applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131106/bdba9ca5/attachment.sig>


More information about the Alsa-devel mailing list