diff options
| author | Wyes Karny <[email protected]> | 2023-05-23 16:18:15 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2023-06-01 18:24:50 +0000 |
| commit | 41e7a72e1d3ca62560ec1ef1f4529e7a4c4ad8a3 (patch) | |
| tree | d3ea3bf946c9f94b62bc6484384fedabbc31296b /lib/debugobjects.c | |
| parent | clocksource: Replace all non-returning strlcpy with strscpy (diff) | |
| download | kernel-41e7a72e1d3ca62560ec1ef1f4529e7a4c4ad8a3.tar.gz kernel-41e7a72e1d3ca62560ec1ef1f4529e7a4c4ad8a3.zip | |
acpi: Replace struct acpi_table_slit 1-element array with flex-array
struct acpi_table_slit is used for copying System Locality Information
Table data from ACPI tables. Here `entry` is a flex array but it was
using ancient 1-element fake flexible array, which has been deprecated.
Replace it with a C99 flexible array.
Signed-off-by: Wyes Karny <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Fixes: df8fc4e934c1 ("kbuild: Enable -fstrict-flex-arrays=3")
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
