2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/arch/m68k/atari
Geert Uytterhoeven c097a39ce1 m68k/atari: Avoid VLA use in atari_switches_setup()
With gcc 7.3.0:

    arch/m68k/atari/config.c: In function ‘atari_switches_setup’:
    arch/m68k/atari/config.c:151:2: warning: ISO C90 forbids variable length array ‘switches’ [-Wvla]
      char switches[strlen(str) + 1];
      ^~~~

Replace the variable size by the maximum kernel command line size (256
bytes), which is an upper limit for all suboptions.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2019-01-21 10:36:53 +01:00
..
ataints.c m68k: atari: Fix the last kernel_stat.h fallout 2014-03-20 12:40:30 +01:00
atakeyb.c m68k/atari: Modernize printing of kernel messages 2017-02-12 10:36:49 +01:00
atasound.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
config.c m68k/atari: Avoid VLA use in atari_switches_setup() 2019-01-21 10:36:53 +01:00
debug.c m68k/amiga,atari: Fix specifying multiple debug= parameters 2013-12-08 11:03:21 +01:00
Makefile m68k: Remove the broken Hades support 2008-10-14 10:23:27 -07:00
stdma.c m68k/atari: Remove obsolete IRQ_TYPE_* 2015-01-15 13:44:51 +01:00
stram.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
time.c m68k: Remove unused set_clock_mmss() helpers 2018-07-29 10:48:18 +02:00