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/b78944cc745a
branches:  trunk
changeset: 366095:b78944cc745a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:49:14 2018 +0000

description:
Fix 64-bit printf.

diffstat:

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

diffs (27 lines):

diff -r 7fc81adba35a -r b78944cc745a sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c      Mon Aug 27 07:49:04 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c      Mon Aug 27 07:49:14 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_fence.c,v 1.10 2018/08/27 06:38:36 riastradh Exp $      */
+/*     $NetBSD: radeon_fence.c,v 1.11 2018/08/27 07:49:14 riastradh Exp $      */
 
 /*
  * Copyright 2009 Jerome Glisse.
@@ -31,7 +31,7 @@
  *    Dave Airlie
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_fence.c,v 1.10 2018/08/27 06:38:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_fence.c,v 1.11 2018/08/27 07:49:14 riastradh Exp $");
 
 #include <linux/seq_file.h>
 #include <linux/atomic.h>
@@ -339,7 +339,7 @@
 
                /* good news we believe it's a lockup */
                dev_warn(rdev->dev, "GPU lockup (current fence id "
-                        "0x%016llx last fence id 0x%016llx on ring %d)\n",
+                        "0x%016"PRIx64" last fence id 0x%016"PRIx64" on ring %d)\n",
                         (uint64_t)atomic64_read(&fence_drv->last_seq),
                         fence_drv->sync_seq[ring], ring);
 



Home | Main Index | Thread Index | Old Index