summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-02-08 18:30:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 20:10:11 +0100
commitbce45a547546488f861e8824905b18dbbdfeecda (patch)
tree4c5204786638eb618bc152c84a6a1c019f1201a4 /kernel
parentaf0c1bd0c5e90dfd1f4e83d61af57783993b0d1b (diff)
tpm: Unify the send callback behaviour
commit f5595f5baa30e009bf54d0d7653a9a0cc465be60 upstream. 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. Suggested-by: Stefan Berger <stefanb@linux.ibm.com> Cc: stable@vger.kernel.org Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions