tpm: Clarify "auth session active" message
Subsystems (2)
PATCH 1/1 tpm: Clarify "auth session active" message
Without context, the obvious reading of "auth session is active" is "auth session successfully activated". In fact, this message means "redundant extra attempt to activate auth session".
Signed-off-by Andrew Sayers <[email protected]>
--- drivers/char/tpm/tpm2-sessions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/tpm/tpm2-sessions.c +1 -1
@@ -982,7 +982,7 @@ int tpm2_start_auth_session(struct tpm_chip *chip)int rc;if (chip->auth) { -dev_dbg_once (&chip->dev,"auth session is active\n" ); +dev_dbg_once (&chip->dev,"auth session already active\n" );return 0 ; }
Signature · 1 line
2.47.2