From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 368B1C433E0 for ; Wed, 13 May 2020 23:09:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 280512065C for ; Wed, 13 May 2020 23:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589411384; bh=MDKKhxS3qnWK4BCrQ1PaiGfthIWnaDdy/Elx3PLfxkk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=AYsKJrbLKBAADNwoDgjS2ljJK1oxKqo27Scd3D8y5dFr4NGeouG83ZK7NUlAXS7BP UWZW/NyaVKi5gmD+cCGQgUwC/kgZEPHy0YaRBJORqeGeK+9FLr/DyG9GrlVO0GGIRa K6QOs4qNUFFwVNIov0Y151Z/nqr7IkngGb15vNws= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732406AbgEMXJn (ORCPT ); Wed, 13 May 2020 19:09:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:40516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732151AbgEMXJl (ORCPT ); Wed, 13 May 2020 19:09:41 -0400 Received: from embeddedor (unknown [189.207.59.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 961762054F; Wed, 13 May 2020 23:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589411381; bh=MDKKhxS3qnWK4BCrQ1PaiGfthIWnaDdy/Elx3PLfxkk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vxxgJDwVu3ejPYUlWha5J3HdCxu1uNF6+1tzoc0keVPog+ccKulCDqnX0bKh9CCf4 goBt6UPCK6LGM9Yu17EJznVJqD3FEgEeY7C1Wf/qn/nEpimeMT2k27ycRqxONiI1I3 FTbcaYC3kbXd3voWoeI84psE+sh1BbAVXRBhDLY0= Date: Wed, 13 May 2020 18:14:16 -0500 From: "Gustavo A. R. Silva" To: Jarkko Sakkinen Cc: Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: Re: [PATCH RESEND] tpm: eventlog: Replace zero-length array with flexible-array member Message-ID: <20200513231416.GQ4897@embeddedor> References: <20200507040912.GA31382@embeddedor> <20200513213905.GB31974@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200513213905.GB31974@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Thu, May 14, 2020 at 12:39:05AM +0300, Jarkko Sakkinen wrote: > > > > [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html > > [2] https://github.com/KSPP/linux/issues/21 > > [3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour") > > [4] https://github.com/KSPP/linux/issues/43 > > > > Signed-off-by: Gustavo A. R. Silva > > Reviewed-by: Jarkko Sakkinen > Hi Jarkko, Thanks for your RB. There is a v2 of this patch: https://lore.kernel.org/lkml/20200508163826.GA768@embeddedor/ Thanks -- Gustavo