linux-stable/drivers/scsi/osd
Kees Cook 97e066184b scsi: libosd: Remove VLA usage
On the quest to remove all VLAs from the kernel[1] this rearranges the
code to avoid a VLA warning under -Wvla (gcc doesn't recognize "const"
variables as not triggering VLA creation). Additionally cleans up
variable naming to avoid 80 character column limit.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Boaz Harrosh <ooo@electrozaur.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-05-14 22:32:45 -04:00
..
Kbuild Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
Kconfig Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
osd_debug.h Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
osd_initiator.c scsi: libosd: Remove VLA usage 2018-05-14 22:32:45 -04:00
osd_uld.c char/misc patches for 4.12-rc1 2017-05-04 19:15:35 -07:00