Re: [PATCH v4 1/2] tpm: Unify the send callback behaviour

From: Stefan Berger
Date: Fri Feb 08 2019 - 13:12:44 EST


On 2/8/19 1:08 PM, Jarkko Sakkinen wrote:
The send() callback should never return length as it does not in every
driver except tpm_crb in the success case. The reason is that the main
transmit functionality only cares about whether the transmit was
successful or not and ignores the count completely.

Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>

Let me know when you put it into your tree, I'll give it a spin while I am at it. :-)