Re: [PATCH] scsi: core: Safe warning about bad dev info string

From: Martin K. Petersen
Date: Mon Jan 29 2024 - 21:30:40 EST


On Thu, 11 Jan 2024 17:24:19 +0100, Petr Mladek wrote:

> Both "model" and "strflags" are passed to "%s" even when one or both
> are NULL.
>
> It is safe because vsprintf() would detect the NULL pointer and print
> "(null)". But it is a kernel-specific feature and compiler warns
> about it:
>
> [...]

Applied to 6.9/scsi-queue, thanks!

[1/1] scsi: core: Safe warning about bad dev info string
https://git.kernel.org/mkp/scsi/c/796cae1a79b1

--
Martin K. Petersen Oracle Linux Engineering