Re: [PATCH] chelsio: use BUG() instead of BUG_ON(1)
From: David Miller
Date: Tue Mar 26 2019 - 14:42:30 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 25 Mar 2019 13:49:16 +0100
> clang warns about possible bugs in a dead code branch after
> BUG_ON(1) when CONFIG_PROFILE_ALL_BRANCHES is enabled:
...
> Use BUG() here to create simpler code that clang understands
> correctly.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Applied.