Fixing format specifier warnings for dma_addr_t and size_t types. Reported-by: kernel test robot <lkp@xxxxxxxxx> Closes: https://lore.kernel.org/oe-kbuild-all/202312061817.PnTCKZE3-lkp@xxxxxxxxx/ Signed-off-by: Chandrakanth patil <chandrakanth.patil@xxxxxxxxxxxx> --- drivers/scsi/mpi3mr/mpi3mr_app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpi3mr/mpi3mr_app.c b/drivers/scsi/mpi3mr/mpi3mr_app.c index 4b93b7440da6..743db3bad2bd 100644 --- a/drivers/scsi/mpi3mr/mpi3mr_app.c +++ b/drivers/scsi/mpi3mr/mpi3mr_app.c @@ -948,7 +948,7 @@ static int mpi3mr_build_nvme_prp(struct mpi3mr_ioc *mrioc, if (dma_addr & page_mask) { dprint_bsg_err(mrioc, "%s:dma_addr 0x%llx is not aligned with page size 0x%x\n", - __func__, dma_addr, dev_pgsz); + __func__, (unsigned long long)dma_addr, dev_pgsz); return -1; } } @@ -1110,7 +1110,7 @@ static int mpi3mr_build_nvme_prp(struct mpi3mr_ioc *mrioc, if ((++desc_count) >= drv_buf_iter->num_dma_desc) { dprint_bsg_err(mrioc, - "%s: Invalid len %ld while building PRP\n", + "%s: Invalid len %zu while building PRP\n", __func__, length); goto err_out; } -- 2.39.3
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature