Re: [PATCH] scsi: leapraid: avoid -Wformat-security warning

From: Martin K. Petersen (Oracle)

Date: Wed Sep 16 2026 - 22:34:35 EST


On Tue, 15 Sep 2026 22:20:59 +0200, Arnd Bergmann wrote:

> When extra warnings are enabled, the alloc_ordered_workqueue() function
> cannot be called with a variable name for the format string:
>
> drivers/scsi/leapraid/leapraid_os.c: In function 'leapraid_probe':
> drivers/scsi/leapraid/leapraid_os.c:2062:58: error: format not a string literal and no format arguments [-Werror=format-security]
> 2062 | alloc_ordered_workqueue(adapter->fw_evt_s.fw_evt_name, 0);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
>
> [...]

Applied to 7.3/scsi-fixes, thanks!

[1/1] scsi: leapraid: avoid -Wformat-security warning
https://git.kernel.org/mkp/scsi/c/278210c60c6f

--
Martin K. Petersen