summaryrefslogtreecommitdiff
path: root/drivers/parisc/iommu-helpers.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-30 11:36:52 +0200
committerHelge Deller <deller@gmx.de>2023-08-31 21:42:42 +0200
commit9a47a710cf517801a8b4fff9949c4cecb5fd019a (patch)
treeb466dbbd811657e95269a39bad7b68aea4f28fa8 /drivers/parisc/iommu-helpers.h
parentc1ebb94071cb4455177bafa619423acb3494d15d (diff)
parisc: ccio-dma: Fix sparse warnings
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/iommu-helpers.h')
-rw-r--r--drivers/parisc/iommu-helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/iommu-helpers.h b/drivers/parisc/iommu-helpers.h
index a00c38b6224a..c43f1a212a5c 100644
--- a/drivers/parisc/iommu-helpers.h
+++ b/drivers/parisc/iommu-helpers.h
@@ -31,8 +31,8 @@ iommu_fill_pdir(struct ioc *ioc, struct scatterlist *startsg, int nents,
unsigned long vaddr;
long size;
- DBG_RUN_SG(" %d : %08lx/%05x %p/%05x\n", nents,
- (unsigned long)sg_dma_address(startsg), cnt,
+ DBG_RUN_SG(" %d : %08lx %p/%05x\n", nents,
+ (unsigned long)sg_dma_address(startsg),
sg_virt(startsg), startsg->length
);