From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] scsi: dpt_i2o: Remove VLA usage Date: Fri, 18 May 2018 12:06:02 -0400 Message-ID: References: <20180502222138.GA22088@beast> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: (Kees Cook's message of "Fri, 18 May 2018 08:12:29 -0700") Sender: linux-kernel-owner@vger.kernel.org To: Kees Cook Cc: "Martin K. Petersen" , Adaptec OEM Raid Solutions , "James E.J. Bottomley" , linux-scsi@vger.kernel.org, LKML List-Id: linux-scsi@vger.kernel.org Kees, >> On the quest to remove all VLAs from the kernel[1] this moves the sg_list >> variable off the stack, as already done for other allocated buffers in >> adpt_i2o_passthru(). Additionally consolidates the error path for kfree(). > > Friendly ping! How does this look for v4.18? Applied to 4.18/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering