Module Name: src Committed By: christos Date: Tue Jul 17 12:31:17 UTC 2018
Modified Files: src/sys/arch/arm/arm32: bus_dma.c Log Message: use unintmax_t instead of u_quad_t. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/arch/arm/arm32/bus_dma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/arm32/bus_dma.c diff -u src/sys/arch/arm/arm32/bus_dma.c:1.110 src/sys/arch/arm/arm32/bus_dma.c:1.111 --- src/sys/arch/arm/arm32/bus_dma.c:1.110 Tue Jul 17 01:29:07 2018 +++ src/sys/arch/arm/arm32/bus_dma.c Tue Jul 17 08:31:16 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: bus_dma.c,v 1.110 2018/07/17 05:29:07 martin Exp $ */ +/* $NetBSD: bus_dma.c,v 1.111 2018/07/17 12:31:16 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ #include "opt_cputypes.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.110 2018/07/17 05:29:07 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.111 2018/07/17 12:31:16 christos Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -1496,7 +1496,7 @@ _bus_dmamem_mmap(bus_dma_tag_t t, bus_dm for (i = 0; i < nsegs; i++) { KASSERTMSG((off & PAGE_MASK) == 0, - "off %#qx (%#x)", (u_quad_t)off, (int)off & PAGE_MASK); + "off %#jx (%#x)", (uintmax_t)off, (int)off & PAGE_MASK); KASSERTMSG((segs[i].ds_addr & PAGE_MASK) == 0, "ds_addr %#lx (%#x)", segs[i].ds_addr, (int)segs[i].ds_addr & PAGE_MASK);