Re: [PATCH] scsi: libsas: Add __printf attribute to sas_ata_printk()

From: Martin K. Petersen (Oracle)

Date: Fri Oct 30 2026 - 21:42:06 EST


On Tue, 20 Oct 2026 21:59:34 +0200, Adrián García Casado wrote:

> sas_ata_printk() formats its variadic arguments via struct va_format and
> %pV before passing them to printk().
>
> Because %pV hides the format string from the compiler, GCC does not suggest
> the format attribute under -Wsuggest-attribute=format, and callers do not
> get compile-time format string validation.
>
> [...]

Applied to 7.4/scsi-queue, thanks!

[1/1] scsi: libsas: Add __printf attribute to sas_ata_printk()
https://git.kernel.org/mkp/scsi/c/503e6172fa74

--
Martin K. Petersen