aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index cd09b2120abd..707dbe7a8d15 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -4090,7 +4090,7 @@ lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc)
4090 /* Sanity check to ensure our sizing is right for both SCSI and NVME */ 4090 /* Sanity check to ensure our sizing is right for both SCSI and NVME */
4091 if (sizeof(struct lpfc_io_buf) > LPFC_COMMON_IO_BUF_SZ) { 4091 if (sizeof(struct lpfc_io_buf) > LPFC_COMMON_IO_BUF_SZ) {
4092 lpfc_printf_log(phba, KERN_ERR, LOG_FCP, 4092 lpfc_printf_log(phba, KERN_ERR, LOG_FCP,
4093 "6426 Common buffer size %ld exceeds %d\n", 4093 "6426 Common buffer size %zd exceeds %d\n",
4094 sizeof(struct lpfc_io_buf), 4094 sizeof(struct lpfc_io_buf),
4095 LPFC_COMMON_IO_BUF_SZ); 4095 LPFC_COMMON_IO_BUF_SZ);
4096 return 0; 4096 return 0;