From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Subject: [PATCHv2] dmaengine: dmatest: Remove use of VLAs From: Vinod Koul Message-Id: <20180416153634.GR6014@localhost> Date: Mon, 16 Apr 2018 21:06:34 +0530 To: Laura Abbott Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Kees Cook , Sinan Kaya List-ID: T24gVHVlLCBBcHIgMTAsIDIwMTggYXQgMDY6MDI6MTZQTSAtMDcwMCwgTGF1cmEgQWJib3R0IHdy b3RlOgo+IFRoZXJlJ3MgYW4gb25nb2luZyBlZmZvcnQgdG8gcmVtb3ZlIFZMQXMgZnJvbSB0aGUg a2VybmVsCj4gKGh0dHBzOi8vbGttbC5vcmcvbGttbC8yMDE4LzMvNy82MjEpIHRvIGV2ZW50dWFs bHkgdHVybiBvbiAtV3ZsYS4KPiBUaGUgdGVzdCBhbHJlYWR5IHByZS1hbGxvY2F0ZXMgc29tZSBi dWZmZXJzIHdpdGgga21hbGxvYyBzbyB0dXJuCj4gdGhlIHR3byBWTEFzIGluIHRvIHByZS1hbGxv Y2F0ZWQga21hbGxvYyBidWZmZXJzLgoKQXBwbGllZCwgdGhhbmtzCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 16 Apr 2018 21:06:34 +0530 From: Vinod Koul Subject: Re: [PATCHv2] dmaengine: dmatest: Remove use of VLAs Message-ID: <20180416153634.GR6014@localhost> References: <20180411010216.17702-1-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180411010216.17702-1-labbott@redhat.com> To: Laura Abbott Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Kees Cook , Sinan Kaya List-ID: On Tue, Apr 10, 2018 at 06:02:16PM -0700, Laura Abbott wrote: > There's an ongoing effort to remove VLAs from the kernel > (https://lkml.org/lkml/2018/3/7/621) to eventually turn on -Wvla. > The test already pre-allocates some buffers with kmalloc so turn > the two VLAs in to pre-allocated kmalloc buffers. Applied, thanks -- ~Vinod