Re: [PATCH] tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 23, 2019 at 11:03:07AM -0400, Sasha Levin wrote:
> On Tue, Apr 23, 2019 at 03:43:35PM +0300, Jarkko Sakkinen wrote:
> > commit 442601e87a4769a8daba4976ec3afa5222ca211d upstream
> > 
> > Return -E2BIG when the transfer is incomplete. The upper layer does
> > not retry, so not doing that is incorrect behaviour.
> > 
> > Cc: stable@xxxxxxxxxxxxxxx
> > Fixes: a2871c62e186 ("tpm: Add support for Atmel I2C TPMs")
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> > Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
> > Reviewed-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
> 
> Okay, between the upstream version and your backports we have this fix
> on all branches, thank you!

Awesome!

/Jarkko



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux