Received: by 10.213.65.68 with SMTP id h4csp1171724imn; Mon, 26 Mar 2018 02:09:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELvwY5qY8ar1Ge/WyEv+5Fzue8xaq8mU2dY7jkiW9GHqP6e5cVT3Qi5O9maldqg9pXVzYXmn X-Received: by 2002:a17:902:2862:: with SMTP id e89-v6mr39533010plb.348.1522055349757; Mon, 26 Mar 2018 02:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522055349; cv=none; d=google.com; s=arc-20160816; b=wGUxT3zokhVJgwrEeq0ZEkJp+le2m//BSpP2HuYpYCUOl9YXK64W6R5UF+OvllgoJK TOdAsVntFEnYS9+OIdgeCA72jeVgC4skARdkR9uxN6gBxbmO0M1yOAA7zvn4e/7KsA82 sY1m58ADzNVzi297IX78a65qhqxCmBwVJdiwuFepULyZgfQGG8u9L8ANg/GPkfMWFiUL ZgSlxiYAUtkJX1eOshavpnWZMw3Tp/7LT3BJ9LZwps/wscy7EnB0/4pRrBaEOrQ/2JDu 8eXsFbXODzMRVEBd1sHj+JMaLQORjX0tY/yG3ULNhPrlx8c9X3+fXP1WuTUbBEyYhIRv XdaA== 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=pZz4pHIntayTBIeP8adljNiy84lmjh7DaHS+BHknIWM=; b=L7uCmgOPg1zmb9mnVsp33+Rx7QU2G7sQ/toEx5IcytRza1KE7ZYmJQrZ4k3kzCsbA8 FH6Sz9ucOGOGD84J5uWSZh6Ip+8Z9AtCxzQFDdVygzyksQs1i0+JO2qGZnq6SUdOnRED B+w1CeCsNKrxONsM1hcEWCATC9v6fxAGS3BK1dvn1Ln83jhbAqErvNsN8GfhCssncQWF XeqvUM6CEAVH5fQbAKZcoraaVSEKd29zIyJ5exXImP4JHnLTb/v8X2g63/wIgEoOUi7d 4Kb6fX7LCgyFLl5eoDDdnxlBpBPoWKncRKbs71z+/drmOpt8e+zcm2YCKq6s9hQ+r0j6 n/Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KTM+Q80R; 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 u6-v6si2816118plm.239.2018.03.26.02.08.55; Mon, 26 Mar 2018 02:09:09 -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=KTM+Q80R; 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 S1751750AbeCZJH7 (ORCPT + 99 others); Mon, 26 Mar 2018 05:07:59 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:50368 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbeCZJH6 (ORCPT ); Mon, 26 Mar 2018 05:07:58 -0400 Received: by mail-it0-f66.google.com with SMTP id d13-v6so9796761itf.0 for ; Mon, 26 Mar 2018 02:07:58 -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=pZz4pHIntayTBIeP8adljNiy84lmjh7DaHS+BHknIWM=; b=KTM+Q80RXRp15TuW+CXc33oyH8NAExECUftkWmM/Ql+vC6042QNUO9jJcZ2rDv1dZe MYTDV5MJpq5BqgJG4IBDD5AMb2T58/ZiY9huAfwHRXvySxzRrbIamMKtEsYHAgH7QtwT TatuyQ3d2XplagRf9iLJifLCxrBltjMnFRvU0= 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=pZz4pHIntayTBIeP8adljNiy84lmjh7DaHS+BHknIWM=; b=rTzbvRMPw+33accCaO2l8eEkiEuTFcUaS+ZL0cURAgtFHkwhERX9CnltcQf6NpXhXB Q6Q7qX+5tbAEjedJ+WylELmrzs3A2Q+SCKmsIV1xC3VI/nXL1Ji7DsmdGp+ze1U7V0mD hqIjT2rFdma67yJG2BKcScF9lHjJBhJa5AfPqtjHxk0E+Xjr4c0NOCFoaV5V8XYoRgHX CCSnC7AfbXRmUvQSC0+RWCn7GFD6DtLB0LoLaEKTiCR0opx0PMe+ggfeOwMWeXxnydIg I0I5VvEGdk9ZLrYNWhmNO/yYuVAkSH0QyIynC8uMAhFNf4BfJ9fp18t3MnwSxZx80Q8x dcdQ== X-Gm-Message-State: AElRT7G7jtGyLMRyiWMKB/lzgl2Rzn4WqY14zfEuHLyj2UTms49kahkx mDL1CB98s3ViwtRNCPrKAG8T2HL6OpTPOrL9F7HSXA== X-Received: by 2002:a24:3c8a:: with SMTP id m132-v6mr22813953ita.132.1522055277991; Mon, 26 Mar 2018 02:07:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.207.141 with HTTP; Mon, 26 Mar 2018 02:07:57 -0700 (PDT) In-Reply-To: <20180310001021.6437-3-labbott@redhat.com> References: <20180310001021.6437-1-labbott@redhat.com> <20180310001021.6437-3-labbott@redhat.com> From: Linus Walleij Date: Mon, 26 Mar 2018 11:07:57 +0200 Message-ID: Subject: Re: [PATCH 2/4] gpio: Remove VLA from MAX3191X driver To: Laura Abbott Cc: Kees Cook , Lukas Wunner , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , kernel-hardening@lists.openwall.com, Mathias Duckeck 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 several a VLA with an appropriate call to > kmalloc_array. > > Signed-off-by: Laura Abbott Patch applied. It's very simple and straight-forward after all. Yours, Linus Walleij