On Thu, 14 Aug 2025 15:01:07 +0900, 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.
> 
> Use the new TRAILING_OVERLAP() helper to fix the following warning:
> 
> drivers/gpu/drm/nouveau/nvif/fifo.c:29:42: warning: structure containing a 
> flexible array member is not at the end of another structure 
> [-Wflex-array-member-not-at-end]
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] drm/nouveau: fifo: Avoid -Wflex-array-member-not-at-end warning
      https://git.kernel.org/kees/c/2d4909bae919

Take care,

-- 
Kees Cook

Reply via email to