[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YDy3fC3gP1ydzbY0@kernel.org>
Date: Mon, 1 Mar 2021 11:44:28 +0200
From: Jarkko Sakkinen <jarkko@...nel.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: Peter Huewe <peterhuewe@....de>, Jason Gunthorpe <jgg@...pe.ca>,
linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tpm/ppi: Constify static struct attribute_group
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 <rikard.falkeborn@...il.com>
> >
> > Thanks.
> >
> > Reviewed-by: Jarkko Sakkinen <jarkko@...nel.org>
> >
> > /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
Powered by blists - more mailing lists