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/dist/drm/radeon Fix 64-bit printf.



details:   https://anonhg.NetBSD.org/src/rev/9b6cec3a7620
branches:  trunk
changeset: 364579:9b6cec3a7620
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:52:10 2018 +0000

description:
Fix 64-bit printf.

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_vm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 03d36bb75b67 -r 9b6cec3a7620 sys/external/bsd/drm2/dist/drm/radeon/radeon_vm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_vm.c Mon Aug 27 07:51:59 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_vm.c Mon Aug 27 07:52:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_vm.c,v 1.3 2018/08/27 04:58:36 riastradh Exp $  */
+/*     $NetBSD: radeon_vm.c,v 1.4 2018/08/27 07:52:10 riastradh Exp $  */
 
 /*
  * Copyright 2008 Advanced Micro Devices, Inc.
@@ -28,7 +28,7 @@
  *          Jerome Glisse
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_vm.c,v 1.3 2018/08/27 04:58:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_vm.c,v 1.4 2018/08/27 07:52:10 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include <drm/radeon_drm.h>
@@ -488,7 +488,7 @@
                        struct radeon_bo_va *tmp;
                        tmp = container_of(it, struct radeon_bo_va, it);
                        /* bo and tmp overlap, invalid offset */
-                       dev_err(rdev->dev, "bo %p va 0x%010Lx conflict with "
+                       dev_err(rdev->dev, "bo %p va 0x%010"PRIx64" conflict with "
                                "(bo %p 0x%010lx 0x%010lx)\n", bo_va->bo,
                                soffset, tmp->bo, tmp->it.start, tmp->it.last);
                        mutex_unlock(&vm->mutex);



Home | Main Index | Thread Index | Old Index