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

description:
Fix 64-bit printf.

diffstat:

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

diffs (27 lines):

diff -r ab4fc8d682b8 -r a8818adf208d sys/external/bsd/drm2/dist/drm/radeon/evergreen_cs.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/evergreen_cs.c      Mon Aug 27 07:06:59 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/evergreen_cs.c      Mon Aug 27 07:07:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: evergreen_cs.c,v 1.5 2018/08/27 04:58:35 riastradh Exp $       */
+/*     $NetBSD: evergreen_cs.c,v 1.6 2018/08/27 07:07:12 riastradh Exp $       */
 
 /*
  * Copyright 2010 Advanced Micro Devices, Inc.
@@ -28,7 +28,7 @@
  *          Jerome Glisse
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: evergreen_cs.c,v 1.5 2018/08/27 04:58:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: evergreen_cs.c,v 1.6 2018/08/27 07:07:12 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include "radeon.h"
@@ -2078,7 +2078,7 @@
                }
 
                if (idx_value + size > track->indirect_draw_buffer_size) {
-                       dev_warn(p->dev, "DRAW_INDIRECT buffer too small %u + %llu > %lu\n",
+                       dev_warn(p->dev, "DRAW_INDIRECT buffer too small %u + %"PRIx64" > %lu\n",
                                idx_value, size, track->indirect_draw_buffer_size);
                        return -EINVAL;
                }



Home | Main Index | Thread Index | Old Index