Re: [PATCH] SCSI: buslogic: reduce stack usage
From: Maciej W. Rozycki
Date: Thu Feb 05 2026 - 19:40:19 EST
On Tue, 3 Feb 2026, Arnd Bergmann wrote:
> Some randconfig builds run into excessive stack usage with gcc-14 or
> higher, which use __attribute__((cold)) where earlier versions did
> not do that:
>
> drivers/scsi/BusLogic.c: In function 'blogic_init':
> drivers/scsi/BusLogic.c:2398:1: error: the frame size of 1680 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
Probably obviously correct, but still:
Tested-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>
-- with GCC 15 and a BT-958 MultiMaster host adapter, and the rootfs as
well as most other filesystems on devices downstream. This is with
slightly older 6.19.0-rc1 from the pci repo, which I've had handy from
other verification and should not matter for the scope of this testing.
Maciej