Re: [PATCH] tpm: cleanup tpm_tis_remove()
From: Jarkko Sakkinen
Date: Thu Mar 31 2016 - 12:22:40 EST
On Thu, Mar 31, 2016 at 04:55:50PM +0200, Christophe Henri RICARD wrote:
> Tested-by: Christophe Ricard <christophe-h.ricard@xxxxxx>
Thanks. This is quite on brainer cleanup and since it is peer tested you
should be able safely rebase your patch set on top of it. It's applied
to my master branch.
/Jarkko
> -----Original Message-----
> From: Jarkko Sakkinen [mailto:jarkko.sakkinen@xxxxxxxxxxxxxxx]
> Sent: jeudi 31 mars 2016 12:30
> To: Christophe Henri RICARD
> Cc: Marcel Selhorst; Jason Gunthorpe; moderated list:TPM DEVICE DRIVER; open list; Peter Huewe
> Subject: Re: [PATCH] tpm: cleanup tpm_tis_remove()
>
> On Thu, Mar 31, 2016 at 01:17:13PM +0300, Jarkko Sakkinen wrote:
> > On Thu, Mar 31, 2016 at 01:15:36PM +0300, Jarkko Sakkinen wrote:
> > > Christophe,
> > >
> > > On Thu, Mar 31, 2016 at 01:11:27PM +0300, Jarkko Sakkinen wrote:
> > > > Created a local variable for the register in order to clean up
> > > > experession where TPM_GLOBAL_INT_ENABLE is cleared. This
> > > > expression is horrible to read and makes changing the function
> > > > uncomfortable because like easily surpass 80 characters.
> > >
> > > Can you test this patch your hardware and reply with Tested-by tag
> > > if it does? I can then update your iobase patch to apply on top of this.
> > >
> > > I thought it was better idea to simplify the expression a little bit
> > > than make it even worse mess.
> >
> > And yes I'll fix all the typos in the commit msg in this patch before
> > applying it :)
>
> I committed this to my master branch with the option to drop if there it does not get reviewed/tested-by's (which I doubt). Since this touches multiple patches (locality patch too) and in addition there was couple glitches maybe it would be good if you would prepare one more round of the series if you don't mind?
>
> /Jarkko