]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 18 Jan 2023 10:40:53 +0000 (11:40 +0100)
commit0a6535f1f2b3fd06152329795e8dabba1252aa10
tree919bfc30cdade7c87e6ee7f24822a520e3109578
parent590a4e1a7531cfed3d18a2f4a4ef26d00292fcb3
tpm/tpm_crb: Fix error message in __crb_relinquish_locality()

[ Upstream commit c3dad0382f5bb96f4ec5891579085c7a3f8a463b ]

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

Fixes: f00c9d2d7151 ("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