Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm32 use unintmax_t instead of u_quad_t.



details:   https://anonhg.NetBSD.org/src/rev/85fe3842ca71
branches:  trunk
changeset: 320739:85fe3842ca71
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 17 12:31:16 2018 +0000

description:
use unintmax_t instead of u_quad_t.

diffstat:

 sys/arch/arm/arm32/bus_dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fc3966d7b74c -r 85fe3842ca71 sys/arch/arm/arm32/bus_dma.c
--- a/sys/arch/arm/arm32/bus_dma.c      Tue Jul 17 11:55:55 2018 +0000
+++ b/sys/arch/arm/arm32/bus_dma.c      Tue Jul 17 12:31:16 2018 +0000
@@ -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 @@
 
        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);



Home | Main Index | Thread Index | Old Index