artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a36bb
)
drm/amd/display: Fix wrong format specifier in amdgpu_dm.c
author
jsg
<jsg@openbsd.org>
Mon, 1 Aug 2022 16:18:53 +0000
(16:18 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 1 Aug 2022 16:18:53 +0000
(16:18 +0000)
From Hayden Goodfellow
c6e4817ab622f526d6afe9e02c6d85b177b3e846
in linux 5.15.y/5.15.58
655c167edc8c260b6df08bdcfaca8afde0efbeb6
in mainline linux
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index
a2d8e03
..
14176a8
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@
-758,7
+758,7
@@
static void dm_dmub_outbox1_low_irq(void *interrupt_params)
do {
dc_stat_get_dmub_notification(adev->dm.dc, ¬ify);
if (notify.type >= ARRAY_SIZE(dm->dmub_thread_offload)) {
- DRM_ERROR("DM: notify type %d larger than the array size %
ld
!", notify.type,
+ DRM_ERROR("DM: notify type %d larger than the array size %
zu
!", notify.type,
ARRAY_SIZE(dm->dmub_thread_offload));
continue;
}