Re: [PATCH v2 1/1] Fix kernel memcpy() warnings about exceeding array boundaries

Zach Brown <[email protected]> Tue, 3 Mar 2026 15:26:00 -0800
Newsgroups dev.linux.lists.rpdfs-devel
Message-ID <[email protected]>
On Mon, Mar 02, 2026 at 02:44:26PM -0600, Chris Kirby wrote:
> Fix kernel memcpy() warnings about exceeding array boundaries
> when using flex arrays.
> 
> Use DECLARE_FLEX_ARRAY in a union to correctly align both
> struct rpdfs_dirent and struct rpdfs_xattr.

Applied, thanks!

- z