aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2025-06-27 18:55:19 +0000
committerKees Cook <[email protected]>2025-06-27 20:27:23 +0000
commit5e54510a9389caa922360218a83a58cd30fec686 (patch)
treec5137bc832180a045a14424a7cf0a5e0538eb1cc /rust/helpers/mutex.c
parentstddef: Introduce TRAILING_OVERLAP() helper macro (diff)
downloadkernel-5e54510a9389caa922360218a83a58cd30fec686.tar.gz
kernel-5e54510a9389caa922360218a83a58cd30fec686.zip
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 <[email protected]> Tested-by: Dan Williams <[email protected]> Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/aF7pF4kej8VQapyR@kspp Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions