Re: [PATCH v6 05/12] regmap: irq: Remove unreachable goto
From: Mark Brown
Date: Wed Apr 09 2025 - 12:01:43 EST
On Wed, Apr 09, 2025 at 06:38:32PM +0300, Andy Shevchenko wrote:
> On Wed, Apr 09, 2025 at 04:19:27PM +0100, Mark Brown wrote:
> > BUG() can be compiled out, CONFIG_BUG.
> Yes, and it's still has unreachable() there. So, this change is correct.
> See include/asm-generic/bug.h for the details of the implementation.
> And yes, if we have an architecture that does not do this way, it has to
> be fixed.
unreachable() just annotates things, AFAICT it doesn't actually
guarantee to do anything in particular if the annotation turns out to be
incorrect.
Attachment:
signature.asc
Description: PGP signature