Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/i915drm Convert to uintmax_t if we're ...



details:   https://anonhg.NetBSD.org/src/rev/ccc5ef078038
branches:  trunk
changeset: 364906:ccc5ef078038
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 16:15:23 2018 +0000

description:
Convert to uintmax_t if we're going to use %jx.

diffstat:

 sys/external/bsd/drm2/i915drm/intel_gtt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 331d8a73f48e -r ccc5ef078038 sys/external/bsd/drm2/i915drm/intel_gtt.c
--- a/sys/external/bsd/drm2/i915drm/intel_gtt.c Mon Aug 27 16:15:09 2018 +0000
+++ b/sys/external/bsd/drm2/i915drm/intel_gtt.c Mon Aug 27 16:15:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_gtt.c,v 1.10 2018/08/27 16:15:09 riastradh Exp $ */
+/*     $NetBSD: intel_gtt.c,v 1.11 2018/08/27 16:15:23 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 /* Intel GTT stubs */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_gtt.c,v 1.10 2018/08/27 16:15:09 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_gtt.c,v 1.11 2018/08/27 16:15:23 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/bus.h>
@@ -187,7 +187,7 @@
                }
                KASSERTMSG(len == 0,
                    "segment length not divisible by PAGE_SIZE: %jx",
-                   dmamap->dm_segs[seg].ds_len);
+                   (uintmax_t)dmamap->dm_segs[seg].ds_len);
        }
        agp_i810_post_gtt_entry(isc, (va - PAGE_SIZE));
        intel_gtt_chipset_flush();



Home | Main Index | Thread Index | Old Index