Re: [PATCH] scsi: qla2xxx: Rework BUILD_BUG_ON() assertion

From: Martin K. Petersen (Oracle)

Date: Sun Dec 06 2026 - 00:21:13 EST


On Fri, 09 Oct 2026 10:41:26 +1100, Finn Thain wrote:

> The LKP bot reported a build failure with CONFIG_COLDFIRE=y together with
> CONFIG_SCSI_QLA_FC=y. The failure is caused by BUILD_BUG_ON() but there's
> no valid reason for it -- the assertion in qlt_queue_unknown_atio() is
> simply checking the wrong thing.
>
> That function uses kzalloc() to obtain memory for the following struct,
> plus some extra bytes at the end.
>
> [...]

Applied to 7.5/scsi-queue, thanks!

[1/1] scsi: qla2xxx: Rework BUILD_BUG_ON() assertion
https://git.kernel.org/mkp/scsi/c/36528e6e1933

--
Martin K. Petersen