alpha: Replace one-element array with flexible array member
PATCH RESEND 1/1 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 Kees Cook <[email protected]>
Signed-off-by Thorsten Blum <[email protected]>
--- arch/alpha/include/asm/hwrpb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/alpha/include/asm/hwrpb.h +1 -1
@@ -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 {
Signature · 1 line
2.48.0