From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] scsi: libosd: Remove VLA usage Date: Mon, 14 May 2018 22:33:27 -0400 Message-ID: References: <20180502225545.GA45533@beast> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180502225545.GA45533@beast> (Kees Cook's message of "Wed, 2 May 2018 15:55:45 -0700") Sender: linux-kernel-owner@vger.kernel.org To: Kees Cook Cc: "Martin K. Petersen" , Boaz Harrosh , "James E.J. Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org 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