|
Message-ID: <yq1d1067y7v.fsf@oracle.com> Date: Thu, 15 Mar 2018 00:35:16 -0400 From: "Martin K. Petersen" <martin.petersen@...cle.com> To: Stephen Kitt <steve@....org> Cc: hare@...e.com, keescook@...omium.org, linux-scsi@...r.kernel.org, kernel-hardening@...ts.openwall.com, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2] aic7xxx/aic79xx: remove VLAs Stephen, > 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. Applied to 4.17/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.