On Tue, 14 May 2024 13:47:23 -0700, Nathan Chancellor wrote: > When building for a 32-bit platform such as ARM or i386, for which > size_t is unsigned int, there is a warning due to using an unsigned long > format specifier: > > drivers/scsi/mpi3mr/mpi3mr_transport.c:1370:11: error: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Werror,-Wformat] > 1369 | ioc_warn(mrioc, "skipping port %u, max allowed value is %lu\n", > | ~~~ > | %u > 1370 | i, sizeof(mr_sas_port->phy_mask) * 8); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [...] Applied to 6.10/scsi-queue, thanks! [1/1] scsi: mpi3mr: Use proper format specifier in mpi3mr_sas_port_add() https://git.kernel.org/mkp/scsi/c/9f365cb8bbd0 -- Martin K. Petersen Oracle Linux Engineering