Re: [PATCH v4 1/3] tpm: migrate pubek_show to struct tpm_buf

From: Greg Kroah-Hartman
Date: Thu Oct 10 2019 - 04:27:29 EST


On Thu, Oct 10, 2019 at 12:28:29AM +0300, Jarkko Sakkinen wrote:
> commit da379f3c1db0c9a1fd27b11d24c9894b5edc7c75 upstream
>
> Migrated pubek_show to struct tpm_buf and cleaned up its implementation.
> Previously the output parameter structure was declared but left
> completely unused. Now it is used to refer different fields of the
> output. We can move it to tpm-sysfs.c as it does not have any use
> outside of that file.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> ---
> drivers/char/tpm/tpm-sysfs.c | 87 ++++++++++++++++++++----------------
> drivers/char/tpm/tpm.h | 13 ------
> 2 files changed, 48 insertions(+), 52 deletions(-)

This is already in the 4.14.148 kernel release.

Why do we need it again?

Also, the mailing list is stable@vger, not linux-stable@vger.

thanks,

greg k-h