summaryrefslogtreecommitdiff
path: root/board/theobroma-systems/puma_rk3399/Kconfig
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2023-04-06 22:37:06 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-04-21 09:50:35 +0300
commitb10bfd0019f601e2608370ed47741da201423d55 (patch)
tree8d4380965d9b20ee3d9338ad1d387e3cda57e786 /board/theobroma-systems/puma_rk3399/Kconfig
parent9031cb627c8a44c99ac98672e6d75d16bbede57c (diff)
downloadu-boot-b10bfd0019f601e2608370ed47741da201423d55.tar.xz
efi_loader: Fix flexible array member definitions
When a structure contains a flexible array member, it is not supposed to be included in arrays or other structs. Quoting the C spec [0] "Such a structure (and any union containing, possibly recursively, a member that is such a structure) shall not be a member of a structure or an element of an array." IOW efi_hii_keyboard_layout should not include struct efi_key_descriptor descriptors[]; since we use it at the declaration of struct efi_hii_keyboard_package. [0] https://www.dii.uchile.cl/~daespino/files/Iso_C_1999_definition.pdf chapter 6.7.2.1 Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'board/theobroma-systems/puma_rk3399/Kconfig')
0 files changed, 0 insertions, 0 deletions