Re: [PATCH RESEND] powerpc/rtas: Replace one-element array with flexible array member
From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-06-19 22:00:55
Also in:
linux-hardening, lkml
From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-06-19 22:00:55
Also in:
linux-hardening, lkml
On Wed, 13 Aug 2025 12:30:59 +0200, Thorsten Blum wrote:
Replace the deprecated one-element array with a modern flexible array member in the struct rtas_error_log and add the __counted_by_be() compiler attribute to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE.
Applied to powerpc/next.
[1/1] powerpc/rtas: Replace one-element array with flexible array member
https://git.kernel.org/powerpc/c/ab8bbf8024b7434e2b630965fd373fba5b89f29f
cheers