From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f173.google.com ([209.85.192.173]:51106 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753137AbaIOOZv (ORCPT ); Mon, 15 Sep 2014 10:25:51 -0400 Received: by mail-pd0-f173.google.com with SMTP id ft15so6315712pdb.32 for ; Mon, 15 Sep 2014 07:25:51 -0700 (PDT) Message-ID: <5416F6CC.3050203@converseincode.com> Date: Mon, 15 Sep 2014 07:25:16 -0700 From: Behan Webster MIME-Version: 1.0 To: Linus Torvalds CC: Alasdair G Kergon , Chris Mason , David Miller , "dm-devel@redhat.com" , Fabian Frederick , Herbert Xu , Josef Bacik , Mike Snitzer , tadeusz.struk@intel.com, Andrew Morton , Bruce Allan , Dmitry Kasatkin , James Morris , john.griffin@intel.com, linux-btrfs , Linux Crypto Mailing List , linux-ima-devel@lists.sourceforge.net, linux-ima-user@lists.sourceforge.net, Linux Kernel Mailing List , "linux-raid@vger.kernel.org" , LSM List , Neil Brown , qat-linux@intel.com, "Serge E. Hallyn" , thomas.lendacky@amd.com, Mimi Zohar , Thomas Gleixner Subject: Re: [PATCH v3 11/12] security, crypto: LLVMLinux: Remove VLAIS from ima_crypto.c References: <1410766234-1634-1-git-send-email-behanw@converseincode.com> <1410766234-1634-12-git-send-email-behanw@converseincode.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 09/15/14 07:21, Linus Torvalds wrote: > On Mon, Sep 15, 2014 at 12:30 AM, wrote: >> From: Behan Webster >> >> Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 >> compliant equivalent. This patch allocates the appropriate amount of memory >> using a char array using the SHASH_DESC_ON_STACK macro. > You only made the first case use SHASH_DESC_ON_STACK, the two other > cases you left in the ugly format. Was that just an oversight, or was > there some reason for it? > Oversight. Will Fix. Behan -- Behan Webster behanw@converseincode.com