[PATCH] arm64/kernel/probes: Use BUG_ON instead of if condition followed by BUG.

Catalin Marinas catalin.marinas at arm.com
Wed Apr 14 11:07:54 BST 2021


On Tue, 30 Mar 2021 04:57:50 -0700, zhouchuangao wrote:
> It can be optimized at compile time.

Applied to arm64 (for-next/misc), it saves one line ;). Thanks!

[1/1] arm64/kernel/probes: Use BUG_ON instead of if condition followed by BUG.
      https://git.kernel.org/arm64/c/839157876f97

-- 
Catalin




More information about the linux-arm-kernel mailing list