Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1629097imm; Thu, 19 Jul 2018 05:18:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpekOzs9lYFKyhSo9y5fcXZGAHeA3XKDvHpfyVn4RjwH3ey87d/AuE66THz3BE3E5KQTZ9lK X-Received: by 2002:a63:d518:: with SMTP id c24-v6mr9868514pgg.357.1532002688511; Thu, 19 Jul 2018 05:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532002688; cv=none; d=google.com; s=arc-20160816; b=wycfIPTcu4pu5Xb4kG8j2h/FWxVN+/TGkORpKEXGbKdTPgjUqGwmvqs5MNEWOqpsC5 9adoo9jOOLH8mJHudMkQr8oHjq3rf35C8l4diJychvm2ZBsbXbxWQOAZ2fngAK4mt79q 3sBB52Vp3fJxDW62fClKkJTkV0r9Zo94Usq8791WPy9cPz8+p9s33M5H/92FLq2MFBnZ EtGoOJfo5inmjTTqCZdolqAI56NL+o7xFUHqkD8VOLnYda9eW8iz+HkFxm5jZ/Hsen3C 5t6pkjpTDLtojB6huHv5sFFMjdRGLBrQwufmVS4ogfZP6KpJnQP5/h8Vo/3R0jAQdtMX HteQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=fCRc3fqhFvo6QY8/RvLiqMPKgxuLDaSylTIFAOfHSjg=; b=uHj1v+rlb/mZL61wW5Np44ps4ssQkeay0qVYj0pBCfl0MgZPzeYTxhnQ1ihvuu3UIL craXXmdfggP13ZEZhyRopjHsCVLwY7Vf5hkdqxh5zwoQVH2teUTgEux9E3SAKknUErX4 sdsg6atHj30+UtVG8fzPllu4ehaE6zi68CmwHpAmmFyjrlM3m0CCxYaeKps5VvIYpKNL OWyZd4ZnBdU8gG+QNURFwq5Vjj4QsCpwCEJ3BBSxszqCULEdl/DmkzmenhJ0xAQnjz6p YVf+Bl1wlx3ZDixCc3CB5bW40uxfAEKDG0dIZz1jfl6LCq3la81W3C2r3lpAxKNIJMvH Uu2w== 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 140-v6si6043087pgd.19.2018.07.19.05.17.54; Thu, 19 Jul 2018 05:18:08 -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 S1731313AbeGSNAG (ORCPT + 99 others); Thu, 19 Jul 2018 09:00:06 -0400 Received: from ozlabs.org ([203.11.71.1]:56779 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727421AbeGSNAG (ORCPT ); Thu, 19 Jul 2018 09:00:06 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41WY133NnHz9rxs; Thu, 19 Jul 2018 22:17:11 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Kees Cook Cc: Benjamin Herrenschmidt , Paul Mackerras , Andrew Morton , Randy Dunlap , Tyrel Datwyler , Rob Herring , Ingo Molnar , PowerPC , LKML Subject: Re: [PATCH] powerpc/msi: Remove VLA usage In-Reply-To: References: <20180629185254.GA37557@beast> Date: Thu, 19 Jul 2018 22:17:10 +1000 Message-ID: <8736wfctdl.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kees Cook writes: > On Fri, Jun 29, 2018 at 11:52 AM, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this >> switches from an unchanging variable to a constant expression to eliminate >> the VLA generation. >> >> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com >> >> Signed-off-by: Kees Cook > > Friendly ping! Michael, can you take this? Yep, sorry. I actually applied it weeks ago but hadn't pushed. cheers