mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
powerpc/pseries: Clarify warning when PLPKS password already set
When the H_PKS_GEN_PASSWORD hcall returns H_IN_USE, operations that require authentication (i.e. anything other than reading a world-readable variable) will not work. The current error message doesn't explain this clearly enough. Reword it to emphasise that authenticated operations will fail. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230210080401.345462-22-ajd@linux.ibm.com
This commit is contained in:
parent
46b2cbebac
commit
ca4f1d221c
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ static int plpks_gen_password(void)
|
|||
memcpy(ospassword, password, ospasswordlength);
|
||||
} else {
|
||||
if (rc == H_IN_USE) {
|
||||
pr_warn("Password is already set for POWER LPAR Platform KeyStore\n");
|
||||
pr_warn("Password already set - authenticated operations will fail\n");
|
||||
rc = 0;
|
||||
} else {
|
||||
goto out;
|
||||
|
|
Loading…
Reference in a new issue