Skip to content
Commit 6fd05266 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Borislav Petkov
Browse files

EDAC, sb_edac: Remove variable length array usage



In preparation for enabling -Wvla, remove VLA and replace it with a
fixed-length array instead.

Also, remove max_interleave as it is no longer needed.

Reviewed-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180314182131.GA25259@embeddedgus
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 58ca9ac1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment