Received: by 10.192.165.156 with SMTP id m28csp778047imm; Mon, 16 Apr 2018 08:34:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+u1XAE4o5xKMHIhFqdrna28TtuZiZyFnh3jZxDQTPJUhHNQg4fJ1VoUDrSodNQPgm7pDVt X-Received: by 2002:a17:902:2c83:: with SMTP id n3-v6mr16172430plb.317.1523892852254; Mon, 16 Apr 2018 08:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523892852; cv=none; d=google.com; s=arc-20160816; b=pG+146kCBJ7CO4yQgaYa28dz24UEBu5TAOxrTG3V50nZ9dJRCQpFl+rYv8WMu2nLq3 skENFWeRymXOSEKjsuJIKA0x/sms423LDb51iT54edrmBpf/YYpl0j6Ym18fkbxVBNro 452DL/sCGFLDsnHBBkh5T0pT2dsV7uKJ0goEiuyYJmQNFVpgiKuGUJNVMGXJ9UfckzHD niD4EY+N4uHdYqrnSAYIROcjfhZ5KnhSrRKnxV54TUP2mQ3fkqnCMg6fZ4liSioOufAR 2BAD09hG2rVgYU6pP0HN3TOoLXqOp/GPbnG2md4/QzdEeuoVydyIJ2o3qJakb6dBy8RA RhAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PWzZkj/oNBm1c9UJVXV8BFp2gDjRhaYW6znQZzfoGkM=; b=v1WpzePFml2UaqP3Wwkca6MT6zq7L77RLZiE7eEIR0Swbsb0YvIt7wx49PE+uSJDla S/YY03rXMghXA4M9H4xk534WPMktb/hftQK9naHuRdjxEtcZqAutJT9NEXWy8mWgB9Mu Epbr+6sd4yp2yBjPYH3nu1zUtUI3WC9gIhbPqHcCweJQj/+61bD8nXwA56g+IuHffcAC JMvGvSOEWLq4fFeiEHP9toasjlngtc3s2tzp4EbwDNpU3XsUSWIDC4/uJmxJ+u+dc2ZD hq276/A+XTTbMRIP1bg16Wp3utBQQR9S68yw8ELEFBipSucPh902UNUts6hp+w96sKze yZcA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4si5915016pgu.282.2018.04.16.08.33.57; Mon, 16 Apr 2018 08:34:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752821AbeDPPcG (ORCPT + 99 others); Mon, 16 Apr 2018 11:32:06 -0400 Received: from mga17.intel.com ([192.55.52.151]:18229 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbeDPPcF (ORCPT ); Mon, 16 Apr 2018 11:32:05 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2018 08:32:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,459,1517904000"; d="scan'208";a="46573816" Received: from vkoul-udesk7.iind.intel.com (HELO localhost) ([10.223.84.143]) by fmsmga004.fm.intel.com with ESMTP; 16 Apr 2018 08:32:00 -0700 Date: Mon, 16 Apr 2018 21:06:34 +0530 From: Vinod Koul To: Laura Abbott Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Kees Cook , Sinan Kaya 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> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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