summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2025-04-29 14:03:40 -0600
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-04-29 23:58:33 +0200
commitd4d2dc1b590c7416e1cf5fb6750fff2fa841690b (patch)
tree0b6d10b8dcc572879415c90d7b87c27d10449640 /scripts/lib/kdoc/kdoc_output.py
parent18672fe12367ed44df24ff38aa6ac350fac479f7 (diff)
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 <gustavoars@kernel.org> Acked-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/aBEwnKtUOTYzS7C3@kspp Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions