diff options
| author | Gustavo A. R. Silva <[email protected]> | 2025-05-06 21:14:01 +0000 |
|---|---|---|
| committer | Tzung-Bi Shih <[email protected]> | 2025-05-07 03:04:29 +0000 |
| commit | 3e552ccf405c0dea6339988202a564357249c437 (patch) | |
| tree | 2d26cdbecc52fb8beec99bd1c25180c0f72c6893 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | platform/chrome: cros_ec_typec: Set Pin Assignment E in DP PORT VDO (diff) | |
| download | kernel-3e552ccf405c0dea6339988202a564357249c437.tar.gz kernel-3e552ccf405c0dea6339988202a564357249c437.zip | |
platform/chrome: kunit: Avoid -Wflex-array-member-not-at-end
-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 cros_ec_command` is a flexible structure --a structure
that contains a flexible-array member.
Fix the following warning:
drivers/platform/chrome/cros_ec_proto_test_util.h:16:32: 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]>
Link: https://lore.kernel.org/r/aBp7mZ8kj9w4CKkl@kspp
Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
