public inbox for linux-integrity@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix typo in tpmrm class definition
@ 2023-09-08 14:06 Justin M. Forbes
  2023-09-09 19:58 ` Ivan Orlov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Justin M. Forbes @ 2023-09-08 14:06 UTC (permalink / raw)
  To: Peter Huewe, Jarkko Sakkinen, Jason Gunthorpe, Ivan Orlov,
	Greg Kroah-Hartman, linux-integrity, linux-kernel
  Cc: jmforbes, Justin M. Forbes

Commit d2e8071bed0be ("tpm: make all 'class' structures const")
unfortunately had a typo for the name on tpmrm.

Fixes: d2e8071bed0b ("tpm: make all 'class' structures const")
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
---
 drivers/char/tpm/tpm-chip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c
index 23f6f2eda84c..42b1062e33cd 100644
--- a/drivers/char/tpm/tpm-chip.c
+++ b/drivers/char/tpm/tpm-chip.c
@@ -33,7 +33,7 @@ const struct class tpm_class = {
 	.shutdown_pre = tpm_class_shutdown,
 };
 const struct class tpmrm_class = {
-	.name = "tmprm",
+	.name = "tpmrm",
 };
 dev_t tpm_devt;

-- 
2.41.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-12  2:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-08 14:06 [PATCH] Fix typo in tpmrm class definition Justin M. Forbes
2023-09-09 19:58 ` Ivan Orlov
2023-09-11 21:48 ` Jarkko Sakkinen
2023-09-11 21:53 ` Jarkko Sakkinen
2023-09-11 22:34   ` Justin Forbes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox