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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 696A3C433E6 for ; Mon, 1 Mar 2021 09:46:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12A0A64E40 for ; Mon, 1 Mar 2021 09:46:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234114AbhCAJqJ (ORCPT ); Mon, 1 Mar 2021 04:46:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:49634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234081AbhCAJp2 (ORCPT ); Mon, 1 Mar 2021 04:45:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7E17F64E40; Mon, 1 Mar 2021 09:44:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614591888; bh=Ue0k5j3MtCiB24FO15otD66DYpHCo6x1PQ/QgaqypX4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cOvmDCvyoZjtWpfgZ1S06TNq9TnNMaEOJJk+eJDfwbl83wW1HYrfjPHQTa4oXfA0f /DxDRDeuhIQNqf7VQkjdLU1AyzBgtxM2DuBovb5dqSPBA9ho/xQcNP8rRQHzAuasE4 oNsVLqet3qmdYB9oaVX+7F+Yxo6L3sVmEQY+jvxf5yKm+FRjmCqfBDIOkOlPX5vxwA g69zYufBLnO9+6gTj/uJUvsZn+99/pX2o+SbCWQu30kuClOasPDhxOCeNAIYpq54y1 bphuVpP/gObFAYKQ0zgOowGall6rcjGzSOuEWct6KQw4R7V8bewEzSdML7WleEhlno AIztfEf9R0t3Q== Date: Mon, 1 Mar 2021 11:44:28 +0200 From: Jarkko Sakkinen To: Rikard Falkeborn Cc: Peter Huewe , Jason Gunthorpe , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm/ppi: Constify static struct attribute_group Message-ID: References: <20210204215427.49047-1-rikard.falkeborn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 10:56:12PM +0100, Rikard Falkeborn wrote: > On Fri, Feb 05, 2021 at 04:04:18AM +0200, Jarkko Sakkinen wrote: > > On Thu, Feb 04, 2021 at 10:54:27PM +0100, Rikard Falkeborn wrote: > > > The only usage of ppi_attr_grp is to put its address in an array of > > > pointers to const struct attribute_group. Make it const to allow the > > > compiler to put it in read-only memory. > > > > > > Signed-off-by: Rikard Falkeborn > > > > Thanks. > > > > Reviewed-by: Jarkko Sakkinen > > > > /Jarkko > > > > Hi Jarkko, > I saw this was merged as commit > 90cba8d20f8b09d62a25f9864cb8e67722d76c3a, but in the commit, there was an > additional change where a call to dump_stack() was added in > drivers/char/tpm/tpm-chip.c, was this intentional? No, thanks for reporting. I sent a fixup. Can you ack it? /Jarkko