Re: [PATCH] scsi: libosd: Remove VLA usage

From: Martin K. Petersen
Date: Mon May 14 2018 - 22:34:15 EST



Kees,

> 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.

Applied to 4.18/scsi-queue. Thanks!

--
Martin K. Petersen Oracle Linux Engineering