aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2025-04-29 20:03:40 +0000
committerSebastian Reichel <[email protected]>2025-04-29 21:58:33 +0000
commitd4d2dc1b590c7416e1cf5fb6750fff2fa841690b (patch)
tree0b6d10b8dcc572879415c90d7b87c27d10449640 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentpower: reset: add Toradex Embedded Controller (diff)
downloadkernel-d4d2dc1b590c7416e1cf5fb6750fff2fa841690b.tar.gz
kernel-d4d2dc1b590c7416e1cf5fb6750fff2fa841690b.zip
power: supply: cros_charge-control: 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. 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: drivers/power/supply/cros_charge-control.c:57:40: 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 <[email protected]> Acked-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/aBEwnKtUOTYzS7C3@kspp Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions