Re: [PATCH v1 1/1] scsi: mpi3mr: Fix printf() specifier
From: Andy Shevchenko
Date: Sun Jun 02 2024 - 11:37:13 EST
On Sun, Jun 02, 2024 at 05:04:20PM +0300, Andy Shevchenko wrote:
> Compiler is not happy about format string
>
> format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=]
> note: in expansion of macro ‘ioc_warn’
> 1367 | ioc_warn(mrioc, "skipping port %u, max allowed value is %lu\n",
>
> Fix the specifier to make it possible to build.
Already fixed by 9f365cb8bbd0 ("scsi: mpi3mr: Use proper format specifier in
mpi3mr_sas_port_add()").
--
With Best Regards,
Andy Shevchenko