mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
ba26cd7d58
Enabling -Wvla found another variable-length array with randconfig testing: drivers/mtd/maps/sa1100-flash.c: In function 'sa1100_setup_mtd': drivers/mtd/maps/sa1100-flash.c:224:10: error: ISO C90 forbids variable length array 'cdev' [-Werror=vla] Dynamically allocate the cdev array passed to mtd_concat_create() instead of using a VLA. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Cc: Kees Cook <keescook@chromium.org> Cc: Olof Johansson <olof@lixom.net> |
||
---|---|---|
.. | ||
amd76xrom.c | ||
cfi_flagadm.c | ||
ck804xrom.c | ||
dc21285.c | ||
esb2rom.c | ||
gpio-addr-flash.c | ||
ichxrom.c | ||
impa7.c | ||
intel_vr_nor.c | ||
ixp4xx.c | ||
Kconfig | ||
l440gx.c | ||
lantiq-flash.c | ||
latch-addr-flash.c | ||
Makefile | ||
map_funcs.c | ||
netsc520.c | ||
nettel.c | ||
pci.c | ||
pcmciamtd.c | ||
physmap_of_core.c | ||
physmap_of_gemini.c | ||
physmap_of_gemini.h | ||
physmap_of_versatile.c | ||
physmap_of_versatile.h | ||
physmap.c | ||
pismo.c | ||
plat-ram.c | ||
pmcmsp-flash.c | ||
pxa2xx-flash.c | ||
rbtx4939-flash.c | ||
sa1100-flash.c | ||
sbc_gxx.c | ||
sc520cdp.c | ||
scb2_flash.c | ||
scx200_docflash.c | ||
solutionengine.c | ||
sun_uflash.c | ||
ts5500_flash.c | ||
tsunami_flash.c | ||
uclinux.c | ||
vmu-flash.c |