Files
linux/drivers/char
Jarkko Sakkinen b61c06e3ec tpm: Unify the send callback behaviour
commit f5595f5baa 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>
2019-03-23 14:35:30 +01:00
..
2011-03-31 11:26:23 -03:00
2017-07-17 17:23:17 +02:00
2016-01-22 18:04:28 -05:00
2011-01-10 08:51:44 -08:00