powerpc/pseries: cleanup error logs in plpks driver
authorNayna Jain <nayna@linux.ibm.com>
Sun, 6 Nov 2022 20:58:37 +0000 (15:58 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:31:50 +0000 (23:31 +1100)
commit8888ea772972323362660e9a1339175294664a6c
treeb79c56dbf22270e625b4d91bd66aeab98f1ea6ab
parentbb8e4c7cb759b90a04f2e94056b50288ff46a0ed
powerpc/pseries: cleanup error logs in plpks driver

Logging H_CALL return codes in PLPKS driver are easy to confuse with
Linux error codes.

Let the caller of the function log the converted linux error code.

Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221106205839.600442-5-nayna@linux.ibm.com
arch/powerpc/platforms/pseries/plpks.c