Messages in this thread | | | Date | Tue, 26 Mar 2019 11:42:25 -0700 (PDT) | Subject | Re: [PATCH] chelsio: use BUG() instead of BUG_ON(1) | From | David Miller <> |
| |
From: Arnd Bergmann <arnd@arndb.de> 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@arndb.de>
Applied.
| |