linux-stable/drivers/scsi/aic7xxx
Stephen Kitt 88b13609af scsi: aic7xxx: aic79xx: remove VLAs
In preparation to enabling -Wvla, remove VLAs and replace them with
fixed-length arrays instead.

The arrays fixed here, using the number of constant sections, aren't
really VLAs, but they appear so to the compiler. Replace the array sizes
with a pre-processor-level constant instead using ARRAY_SIZE.

This was prompted by https://lkml.org/lkml/2018/3/7/621

Signed-off-by: Stephen Kitt <steve@sk2.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-03-15 00:34:26 -04:00
..
aicasm scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
.gitignore
aic7xxx.h aic7xxx: Avoid name collision with <linux/list.h> 2016-01-05 22:10:35 +01:00
aic7xxx.reg
aic7xxx.seq
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic7xxx_inline.h
aic7xxx_osm.c scsi: aic7xxx: make a couple of functions static 2017-10-16 22:40:18 -04:00
aic7xxx_osm.h scsi: aic7xxx: remove empty function 2017-08-07 21:42:07 -04:00
aic7xxx_osm_pci.c
aic7xxx_pci.c scsi: aic7xxx: fix order of arguments in function prototype 2017-04-19 22:17:23 -04:00
aic7xxx_pci.h
aic7xxx_proc.c scsi: print single-character strings with seq_putc 2015-02-02 09:57:46 -08:00
aic7xxx_reg.h_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic7xxx_reg_print.c_shipped
aic7xxx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic79xx.h scsi: aic7xxx: Convert timers to use timer_setup() 2017-11-01 11:27:04 -07:00
aic79xx.reg
aic79xx.seq
aic79xx_core.c scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic79xx_inline.h
aic79xx_osm.c scsi: use host wide tags by default 2015-11-09 17:11:57 -08:00
aic79xx_osm.h scsi: aic7xxx: Convert timers to use timer_setup() 2017-11-01 11:27:04 -07:00
aic79xx_osm_pci.c
aic79xx_pci.c
aic79xx_pci.h
aic79xx_proc.c scsi: print single-character strings with seq_putc 2015-02-02 09:57:46 -08:00
aic79xx_reg.h_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic79xx_reg_print.c_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic79xx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic7770.c
aic7770_osm.c
aiclib.c
aiclib.h
cam.h
Kconfig.aic7xxx
Kconfig.aic79xx treewide: Fix typo in printk 2014-08-26 09:35:54 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
queue.h aic7xxx: Avoid name collision with <linux/list.h> 2016-01-05 22:10:35 +01:00
scsi_iu.h
scsi_message.h