Re: [PATCH v2] tpm/tpm_ftpm_tee: add shutdown call back

From
Jarkko Sakkinen <hidden>
Date
2019-10-16 15:12:57
Also in
linux-integrity, lkml
Reply to
Pavel Tatashin, 2019-10-14
On Mon, Oct 14, 2019 at 04:21:35PM -0400, Pavel Tatashin wrote:
add shutdown call back to close existing session with fTPM TA
to support kexec scenario.
Sentences start in English with a capital letter :-)
quoted hunk ↗ jump to hunk
Signed-off-by: Thirupathaiah Annapureddy <redacted>
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
---
 drivers/char/tpm/tpm_ftpm_tee.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff --git a/drivers/char/tpm/tpm_ftpm_tee.c b/drivers/char/tpm/tpm_ftpm_tee.c
index 6640a14dbe48..ad16ea555e97 100644
--- a/drivers/char/tpm/tpm_ftpm_tee.c
+++ b/drivers/char/tpm/tpm_ftpm_tee.c
@@ -328,6 +328,19 @@ static int ftpm_tee_remove(struct platform_device *pdev)
 	return 0;
 }
 
+/**
+ * ftpm_tee_shutdown - shutdown the TPM device
A function name has to have parentheses in kdoc. I know this not
consistently done in the subsystem ATM but this is what is documented
here:

https://www.kernel.org/doc/Documentation/kernel-doc-nano-HOWTO.txt

/Jarkko
Thread (3 messages) 3 messages, 2 authors, last reply 2019-10-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help