Re: [PATCH 2/4] scsi: lpfc: fix 32-bit format string warning

2019-03-06 Thread Martin K. Petersen
Arnd, > On 32-bit architectures, we see a warning when %ld is used to > print a size_t: Applied to 5.1/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH 2/4] scsi: lpfc: fix 32-bit format string warning

2019-03-04 Thread Arnd Bergmann
On 32-bit architectures, we see a warning when %ld is used to print a size_t: In file included from drivers/scsi/lpfc/lpfc_init.c:62: drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_new_io_buf': drivers/scsi/lpfc/lpfc_logmsg.h:62:45: error: format '%ld' expects argument of type 'long int', but a