Re: [PATCH][next] platform/x86: Avoid -Wflex-array-member-not-at-end warning

From: Ilpo Järvinen
Date: Mon Apr 07 2025 - 06:52:07 EST


On Thu, 27 Mar 2025 13:22:44 -0600, Gustavo A. R. Silva wrote:

> -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.
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: Avoid -Wflex-array-member-not-at-end warning
commit: a62372b6c9284ed42c68a0d8b3148f2dde61b4e4

--
i.