Re: [PATCH v8 1/5] tpm_tis: Improve reporting of IO errors

From: Jarkko Sakkinen
Date: Fri Jun 24 2016 - 16:23:14 EST


On Fri, Jun 24, 2016 at 11:21:31PM +0300, Jarkko Sakkinen wrote:
> Hi Jason,
>
> On Fri, Jun 24, 2016 at 12:25:15PM -0600, Jason Gunthorpe wrote:
> > > expected = be32_to_cpu(*(__be32 *) (buf + 2));
> > > if (expected > count) {
> > > + dev_err(chip->pdev, "Response too long (wanted %zd, got %d)\n",
> > > + count, expected);
> >
> > This all needs to be rebased on Jarkko's tree I guess, chip->pdev is
> > gone now.
> >
> > http://git.infradead.org/users/jjs/linux-tpmdd.git/shortlog/refs/heads/master
> >
> > Jarkko, did you miss a pull request for 4.7 or something? This is
> > 4 month old stuff???
>
> Hmm... Do you mean by 4 month old stuff the stuff that is in mainline
> and not in my master branch?
>
> I'm not sure what happened with 4.7. I merged the changes for in about
> 4.6-rc5. There was one issue that I fixed that Stephen reported.
>
> At the moment linux-next seems contain the stuff that I have in my
> next.

Ed:

I was planning to applying these patches to my master next week and run
tests on them. If they do not apply it would be good if you could rebase
your series to apply to my master.

/Jarkko