artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb997c3
)
drm/amdgpu/atomfirmware: silence UBSAN warning
author
jsg
<jsg@openbsd.org>
Fri, 12 Jul 2024 04:05:29 +0000
(
04:05
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 12 Jul 2024 04:05:29 +0000
(
04:05
+0000)
From Alex Deucher
004b7fe6ca8c709e8431b400c3082040b80e59cf
in linux-6.6.y/6.6.39
d0417264437a8fa05f894cabba5a26715b32d78e
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
c618edc
..
5848617
100644
(file)
--- a/
sys/dev/pci/drm/amd/include/atomfirmware.h
+++ b/
sys/dev/pci/drm/amd/include/atomfirmware.h
@@
-702,7
+702,7
@@
struct atom_gpio_pin_lut_v2_1
{
struct atom_common_table_header table_header;
/*the real number of this included in the structure is calcualted by using the (whole structure size - the header size)/size of atom_gpio_pin_lut */
- struct atom_gpio_pin_assignment gpio_pin[
8
];
+ struct atom_gpio_pin_assignment gpio_pin[];
};