On Tue, 29 Apr 2025 14:03:40 -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.
>
> Replace an on-stack definition of a flexible structure with a call
> to utility function cros_ec_cmd().
>
> So, with these changes, fix the following warning:
>
> [...]
Applied, thanks!
[1/1] power: supply: cros_charge-control: Avoid -Wflex-array-member-not-at-end
warning
commit: d4d2dc1b590c7416e1cf5fb6750fff2fa841690b
Best regards,
--
Sebastian Reichel <[email protected]>