diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-07-12 04:05:30 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-07-12 04:05:30 +0000 |
commit | e0d83927fa57e83d2e0a16d5b203e1a3e34cf232 (patch) | |
tree | 7b0f8cc65adb3da85acd952a178131a1db28f17a | |
parent | bc7f3a30378ce1a9427f631ea11668330aebda9f (diff) |
drm/amdgpu/atomfirmware: silence UBSAN warning
From Alex Deucher
004b7fe6ca8c709e8431b400c3082040b80e59cf in linux-6.6.y/6.6.39
d0417264437a8fa05f894cabba5a26715b32d78e in mainline linux
-rw-r--r-- | sys/dev/pci/drm/amd/include/atomfirmware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/include/atomfirmware.h b/sys/dev/pci/drm/amd/include/atomfirmware.h index c618edc3f4f..58486172523 100644 --- 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[]; }; |