Re: [PATCH v2] vTPM: fix missing error handling for suspend operation

From: Greg KH
Date: Thu Mar 31 2016 - 12:42:35 EST


On Thu, Mar 31, 2016 at 10:41:23AM -0400, Hon Ching(Vicky) Lo wrote:
> ibmvtpm_send_crq in tpm_ibmvtpm_suspend returns errors in a more
> granular level than what the existing code does. This patch adds
> the missing CRQ transport event code checks to ensure appropriate
> action taken, in the case that ibmvtpm_send_crq returns H_CLOSED.
>
> Signed-off-by: Hon Ching(Vicky) Lo <honclo@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/char/tpm/tpm_ibmvtpm.c | 43 ++++++++++++++++++++++++++++++++++++---
> drivers/char/tpm/tpm_ibmvtpm.h | 7 ++++++
> 2 files changed, 46 insertions(+), 4 deletions(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>