Re: [PATCH] return hidden bug

From: Pekka Enberg
Date: Mon Oct 22 2007 - 05:30:17 EST


Hi,

On 10/22/07, Rik van Riel <riel@xxxxxxxxxx> wrote:
> BUG() will terminate the process that runs into it, so you can
> just remove the return alltogether. If BUG() is hit, the return
> will never be reached.

This isn't true when CONFIG_BUG is disabled (in embedded builds, for example).

Pekka
-
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/