coreboot/src/drivers/vpd
Elyes Haouas dc15867e3b src/drivers/vpd/vpd.c: Use C99 flexible arrays
Use C99 flexible arrays instead of older style of one-element or
zero-length arrays.
It allows the compiler to generate errors when the flexible array does
not occur at the end in the structure.

Change-Id: Iab55c57ee5cac60911c9fe4cee8d86a252bde372
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76839
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-08-01 12:42:10 +00:00
..
Kconfig drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
Makefile.inc drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
vpd.c src/drivers/vpd/vpd.c: Use C99 flexible arrays 2023-08-01 12:42:10 +00:00
vpd.h vpd: Add vpd_get_int() function 2020-12-27 15:33:24 +00:00
vpd_decode.c drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
vpd_decode.h drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
vpd_serial.c drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
vpd_tables.h drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00