# Re: \[PATCH\] pinctrl: bcm2835: Replace BUG with BUG\_ON

- From: Linus Walleij \<hidden\>
- Date: 2021-07-23 15:47:38 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/07/1456064
- Thread: https://ratatoskr.run/linux-gpio/2021/07/1456064/t.md

```text
On Thu, Jun 24, 2021 at 8:50 AM Jason Wang [ref] wrote:

> The if condition followed by BUG can be replaced to BUG_ON which is
> more compact and formal in linux source.
>
> Signed-off-by: Jason Wang <redacted>

Patch applied.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
