diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-06-27 21:55:19 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2025-06-27 23:27:23 +0300 |
| commit | 5e54510a9389caa922360218a83a58cd30fec686 (patch) | |
| tree | c5137bc832180a045a14424a7cf0a5e0538eb1cc /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | 29bb79e9dbf1ba100125e39deb7147acd490903f (diff) | |
| download | linux-5e54510a9389caa922360218a83a58cd30fec686.tar.xz | |
acpi: nfit: intel: avoid multiple -Wflex-array-member-not-at-end warnings
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Use the new TRAILING_OVERLAP() helper to fix a dozen instances of
the following type of warning:
drivers/acpi/nfit/intel.c:692:35: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Acked-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/aF7pF4kej8VQapyR@kspp
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions
