[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZlyRl3Z_gD6ScHdR@smile.fi.intel.com>
Date: Sun, 2 Jun 2024 18:36:55 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: mpi3mr-linuxdrv.pdl@...adcom.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Sathya Prakash Veerichetty <sathya.prakash@...adcom.com>,
Kashyap Desai <kashyap.desai@...adcom.com>,
Sumit Saxena <sumit.saxena@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH v1 1/1] scsi: mpi3mr: Fix printf() specifier
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
Powered by blists - more mailing lists