Re: [PATCH v4 20/21] tpm1: reimplement tpm1_continue_selftest() using tpm_buf

From: Jarkko Sakkinen
Date: Tue Sep 25 2018 - 10:28:20 EST


On Tue, 2018-09-25 at 17:25 +0300, Jarkko Sakkinen wrote:
> On Tue, 2018-09-25 at 15:53 +0530, Nayna Jain wrote:
> > > +
> > > + rc = tpm_transmit_cmd(chip, NULL, &buf.data, PAGE_SIZE,
> >
> > I think this needs to buf.data instead of &buf.data
> >
> > Thanks & Regards,
> > - Nayna
>
> You are absolutely right. Thank you.

Had to backtrack what I was doing wrong last time because the commit
has my tested-by and noticed that I did not have this one applied. I
tested this now by doing the change that you suggested and seems to
work.

/Jarkko