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/amd/amdgpu amdgpu: 64-bit for...



details:   https://anonhg.NetBSD.org/src/rev/6801d2b1b4e2
branches:  trunk
changeset: 1028774:6801d2b1b4e2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:59:53 2021 +0000

description:
amdgpu: 64-bit format string abuse

diffstat:

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

diffs (27 lines):

diff -r 794ea7818fa5 -r 6801d2b1b4e2 sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_df_v3_6.c
--- a/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_df_v3_6.c        Sun Dec 19 11:59:45 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_df_v3_6.c        Sun Dec 19 11:59:53 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amdgpu_df_v3_6.c,v 1.4 2021/12/19 11:59:45 riastradh Exp $     */
+/*     $NetBSD: amdgpu_df_v3_6.c,v 1.5 2021/12/19 11:59:53 riastradh Exp $     */
 
 /*
  * Copyright 2018 Advanced Micro Devices, Inc.
@@ -23,7 +23,7 @@
  *
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_df_v3_6.c,v 1.4 2021/12/19 11:59:45 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_df_v3_6.c,v 1.5 2021/12/19 11:59:53 riastradh Exp $");
 
 #include "amdgpu.h"
 #include "df_v3_6.h"
@@ -696,7 +696,7 @@
                if (*count >= DF_V3_6_PERFMON_OVERFLOW)
                        *count = 0;
 
-               DRM_DEBUG_DRIVER("config=%llx addr=%08x:%08x val=%08x:%08x",
+               DRM_DEBUG_DRIVER("config=%"PRIx64" addr=%08x:%08x val=%08x:%08x",
                         config, lo_base_addr, hi_base_addr, lo_val, hi_val);
 
                break;



Home | Main Index | Thread Index | Old Index