diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-03-27 13:22:44 -0600 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-04-07 13:13:58 +0300 |
| commit | a62372b6c9284ed42c68a0d8b3148f2dde61b4e4 (patch) | |
| tree | c46094bc65995de5d3bcc76fc3b5c3e4a3aa842a /tools/perf/scripts/python/gecko.py | |
| parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) | |
platform/x86: Avoid -Wflex-array-member-not-at-end warning
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Move the conflicting declaration to the end of the structure. Notice
that `struct acpi_resource_irq` is a flexible structure --a structure
that contains a flexible-array member.
Fix the following warning:
drivers/platform/x86/sony-laptop.c:3330:41: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/Z-WlhL_tAP11M02G@kspp
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
