artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f02e1
)
drm/amdgpu: silence UBSAN warning
author
jsg
<jsg@openbsd.org>
Fri, 12 Jul 2024 04:10:46 +0000
(
04:10
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 12 Jul 2024 04:10:46 +0000
(
04:10
+0000)
From Alex Deucher
1ba66b121100862fc208848264821a788a79317f
in linux-6.6.y/6.6.39
05d9e24ddb15160164ba6e917a88c00907dc2434
in mainline linux
sys/dev/pci/drm/amd/include/atomfirmware.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/include/atomfirmware.h
b/sys/dev/pci/drm/amd/include/atomfirmware.h
index
5848617
..
6c8b4af
100644
(file)
--- a/
sys/dev/pci/drm/amd/include/atomfirmware.h
+++ b/
sys/dev/pci/drm/amd/include/atomfirmware.h
@@
-3551,7
+3551,7
@@
struct atom_gpio_voltage_object_v4
uint8_t phase_delay_us; // phase delay in unit of micro second
uint8_t reserved;
uint32_t gpio_mask_val; // GPIO Mask value
- struct atom_voltage_gpio_map_lut voltage_gpio_lut[
1]
;
+ struct atom_voltage_gpio_map_lut voltage_gpio_lut[
] __counted_by(gpio_entry_num)
;
};
struct atom_svid2_voltage_object_v4