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

Stefan Berger stefanb at linux.ibm.com
Fri Feb 8 18:12:34 UTC 2019


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 at vger.kernel.org
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>

Reviewed-by: Stefan Berger <stefanb at linux.ibm.com>

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




More information about the Linux-security-module-archive mailing list