[alsa-devel] [PATCH 13/31] ASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages

Mark Brown broonie at kernel.org
Thu Nov 7 11:47:25 CET 2013


On Wed, Nov 06, 2013 at 09:23:42PM +0100, Takashi Iwai wrote:

> Secondly, more importantly, it's end-users who would suffer from the
> sudden death problem, not the developers.  This is the production
> level, so you can't justify the sudden death.  And, with panic() by
> BUG*(), developers would receive only news that machines are killed
> without dying messages.

With the sort of systems these things are sold into users don't have any
direct access to anything that'd let them trigger problems - the devices
are sold as full stack integrated systems and the system integrators
don't generally differentiate between what error handling would do and
direct failures that much.  It is better to handle things gracefully but
we need to be realistic about the benefits.
-------------- 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/20131107/4e1790c9/attachment.sig>


More information about the Alsa-devel mailing list