Commit 757f051a authored by Thorsten Blum's avatar Thorsten Blum Committed by Matt Turner
Browse files

alpha: Replace one-element array with flexible array member



Replace the deprecated one-element array with a modern flexible array
member in the struct crb_struct.

Reviewed-by: default avatarKees Cook <kees@kernel.org>
Signed-off-by: default avatarThorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent 3b35a171
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ struct crb_struct {
	/* virtual->physical map */
	unsigned long map_entries;
	unsigned long map_pages;
	struct vf_map_struct map[1];
	struct vf_map_struct map[];
};

struct memclust_struct {