Received: by 10.213.65.68 with SMTP id h4csp1172581imn; Mon, 26 Mar 2018 02:10:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELtMfTOMzC7ay0LjOlS0xDV4j3Ba5FmQsIzyea9BzCU6qLGQsqK4dcwjdyN1QHbumt1sLsy+ X-Received: by 10.98.73.214 with SMTP id r83mr23849802pfi.76.1522055426692; Mon, 26 Mar 2018 02:10:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522055426; cv=none; d=google.com; s=arc-20160816; b=FJg2veXjg/V3ZyPHo7bqpPrtyZDz9nLXz/b6wNrkGroPHjE5t1v8HBe0X6ZDcfsQsa IptgC4Ej/szhYooUXnNioBgoNlcZq+Aj7S9XUAm78L5RPsuLr5NM/YFC464GeEN0fGnP nUzoPRT4xZSmIRz5v0wGrluSQDcoSwMZrrJu2ybHY6Jvga+Zsyrp91v8GbzHRerPVvJh TOck6TUBrnDWO4R4lM7T71v2zcT7kxa2zP0leogRVlZJ1efC0nnPTQqpaeB8Gk/XESRJ b8Lql+Xr2voIqdAaybhd6JIh0pcnH96wNyf6dcmgG5DytdxSz4d7i3Bupllr6JOa4bQP a35w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=C2NlxjT3FPtQzWPnsOx4AnnRs/vhk2VrkYJQvEdB284=; b=asTfs5js6N3DtdvzwzaxJZxT6YIAz0YQMQMy3aaQqgRmSgvFWn9UcGRsLx05KgQtEC lOYzXnmlcycLrCxlVAsrwCkp8bzASdOaJIqa5I10VVOIQdysCWYE/8D3o/EyzC/uewLd k82WGVqGy6o8wdIhRsRZW1JXx3JYehQt1vZzRoPm5AvgI+XEji+MjwVNGqUa6k+I+1Db JZeV7bEs9RbLq88lg7XhS6F2oMg9SRIBew8ubspQiXPfPRc1BAYK19pJpt5gIYjKXg+V 28/v2yvzQL1AaGEHE4CqaK1LOixrcAlpzR+4EGiboflqV39SGj3wAwtNCP9jn6pBQr4z gc8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hOcwL1O+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p17-v6si15712963plr.310.2018.03.26.02.10.11; Mon, 26 Mar 2018 02:10:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hOcwL1O+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751132AbeCZJJT (ORCPT + 99 others); Mon, 26 Mar 2018 05:09:19 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:39751 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbeCZJJR (ORCPT ); Mon, 26 Mar 2018 05:09:17 -0400 Received: by mail-it0-f65.google.com with SMTP id e98-v6so9791090itd.4 for ; Mon, 26 Mar 2018 02:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=C2NlxjT3FPtQzWPnsOx4AnnRs/vhk2VrkYJQvEdB284=; b=hOcwL1O+0kwserssjnmV6RqaFtXJdY35ENbWZeb63BRKRGWBJFhwDsEPDIIL1HvQBK 4BvBL2yl2Tu+5Dr+QwNtxxhBqhbKXgCJZSBJuJoJ1w8n6qJYa2OMbL04JkmphZPLqqqo GaFzdH/nwjAGiD5XH9npmlyY5PPthLU8JpbmM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=C2NlxjT3FPtQzWPnsOx4AnnRs/vhk2VrkYJQvEdB284=; b=tzq2+sWA8ERhPmJW9hkBbMLxV49s2rdWN/cDiNqUuioyuHc/reHGMEuZNYeu+dTN3p DPQstBQlnKt27VJi60oKkXbYxZnVo7ydGip9/3GNz3y8xR6ECe1ow0vxgoFqu7IbmBTC NgnVeX6FDTnIYhVegyFgObDQsm/haMtrxu5zjSwbQKKGpin+ewAtIBxFi0BVHtex5aNI RqSt2UqJmcYZ55u/92+m9yIvzqWvx01jGfVSVKxy9G3d9wkmUo8HrSKnKi4dNBCrxCxb NZ3L8Ceh1fbgw+GDm0V4WgZu58XXD29yrZ48qsa69A7UdT8CZeOTU7Kt6qMmyuQtdjbP pKUQ== X-Gm-Message-State: AElRT7HnK3wRGT3iD986w8PgItJFR0X1QPGW3s016Krvl/b6tsfT030/ N090bnABJpRpRMFDzP+uOhuIBLEOt5JZxjEQwehDlw== X-Received: by 2002:a24:7813:: with SMTP id p19-v6mr21636700itc.115.1522055357301; Mon, 26 Mar 2018 02:09:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.207.141 with HTTP; Mon, 26 Mar 2018 02:09:16 -0700 (PDT) In-Reply-To: <20180310001021.6437-4-labbott@redhat.com> References: <20180310001021.6437-1-labbott@redhat.com> <20180310001021.6437-4-labbott@redhat.com> From: Linus Walleij Date: Mon, 26 Mar 2018 11:09:16 +0200 Message-ID: Subject: Re: [PATCH 3/4] gpio: Remove VLA from xra1403 driver To: Laura Abbott Cc: Kees Cook , Nandor Han , Semi Malinen , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , kernel-hardening@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 10, 2018 at 1:10 AM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) > > This patch replaces a VLA with an appropriate call to kmalloc_array. > > Signed-off-by: Laura Abbott Patch applied with Nandor's review tag. Yours, Linus Walleij