tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
authorMichael Kelley <mikelley@microsoft.com>
Fri, 11 Nov 2022 19:38:53 +0000 (11:38 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:00 +0000 (13:14 +0100)
commit163c5bbe7d2fbf7977bdf4c862a6c2d3575c6af4
treee11611069aa525b2ee935706102cb10c6658d9e2
parentfe880e9df97a5452fbfa6d6c44bf160f1f2e7dff
tpm/tpm_crb: Fix error message in __crb_relinquish_locality()

[ Upstream commit f5264068071964b56dc02c9dab3d11574aaca6ff ]

The error message in __crb_relinquish_locality() mentions requestAccess
instead of Relinquish. Fix it.

Fixes: 888d867df441 ("tpm: cmd_ready command can be issued only after granting locality")
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/tpm/tpm_crb.c