aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2025-08-11 22:27:22 +0900
committerTzung-Bi Shih <tzungbi@kernel.org>2025-08-13 09:52:41 +0000
commit8abbbbb588f1f1bf95ae56c1531a17520ce487e2 (patch)
treec1e4a0fe13f28d3f9042619e08395e6ba1e89458 /drivers/usb/cdns3/cdns3-debug.h
parentplatform/chrome: cros_ec_chardev: Decouple fops from struct cros_ec_dev (diff)
downloadlinux-8abbbbb588f1f1bf95ae56c1531a17520ce487e2.tar.gz
linux-8abbbbb588f1f1bf95ae56c1531a17520ce487e2.zip
platform/chrome: cros_ec: 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. Use the new TRAILING_OVERLAP() helper to fix the following warning: drivers/platform/chrome/cros_ec.c:106:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] This helper creates a union between a flexible-array member (FAM) and a set of members that would otherwise follow it. This overlays the trailing members onto the FAM while preserving the original memory layout. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/aJnvuv334M7TljoB@kspp Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions