From c06cb1d3e4dd1a7b3ca43d3d03bee02b2efccfba Mon Sep 17 00:00:00 2001 From: kn Date: Wed, 1 Jan 2020 14:56:13 +0000 Subject: Unbreak DEBUG build: do not use undefined pa introduced iommu_dvmamap_insert() using an undefined paddr_t pa under DEBUG; since it cannot be introduced it (easily), remove it from the printf(). --- sys/arch/sparc64/dev/iommu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/sparc64') diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c index 4f2df38d3a9..bb471a89fb2 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.78 2020/01/01 14:51:51 kn Exp $ */ +/* $OpenBSD: iommu.c,v 1.79 2020/01/01 14:56:12 kn Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -1132,8 +1132,8 @@ iommu_dvmamap_insert(bus_dma_tag_t t, bus_dmamap_t map, #ifdef DEBUG if (trunc_page(sgstart) != trunc_page(sgend)) { printf("append range crossing page boundary! " - "pa %lx length %ld/0x%lx sgstart %lx sgend %lx\n", - pa, length, length, sgstart, sgend); + "length %ld/0x%lx sgstart %lx sgend %lx\n", + length, length, sgstart, sgend); } #endif -- cgit v1.2.3