artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b83e847
)
drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
author
jsg
<jsg@openbsd.org>
Mon, 29 Jul 2024 01:26:15 +0000
(
01:26
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 29 Jul 2024 01:26:15 +0000
(
01:26
+0000)
From Dan Carpenter
4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287
in linux-6.6.y/6.6.43
6769a23697f17f9bf9365ca8ed62fe37e361a05a
in mainline linux
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
b/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
index
b5d62ce
..
a18d559
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
@@
-2027,7
+2027,7
@@
static int sdma_v4_0_process_trap_irq(struct amdgpu_device *adev,
struct amdgpu_irq_src *source,
struct amdgpu_iv_entry *entry)
{
-
uint32_
t instance;
+
in
t instance;
DRM_DEBUG("IH: SDMA trap\n");
instance = sdma_v4_0_irq_id_to_seq(entry->client_id);