Re: [PATCH] message/fusion: Use BUG_ON instead of if condition followed by BUG.

From: Martin K. Petersen
Date: Tue Apr 13 2021 - 01:49:21 EST


On Tue, 30 Mar 2021 05:46:01 -0700, zhouchuangao wrote:

> BUG_ON() uses unlikely in if(), which can be optimized at compile time.

Applied to 5.13/scsi-queue, thanks!

[1/1] message/fusion: Use BUG_ON instead of if condition followed by BUG.
https://git.kernel.org/mkp/scsi/c/4dec8004de29

--
Martin K. Petersen Oracle Linux Engineering