Re: [PATCH v5 13/25] powerpc/secvar: Don't print error on ENOENT when reading variables

2023-01-31 Thread Stefan Berger
On 1/31/23 01:39, Andrew Donnellan wrote: If attempting to read the size or data attributes of a non-existent variable (which will be possible after a later patch to expose the PLPKS via the secvar interface), don't spam the kernel log with error messages. Only print errors for return codes t

[PATCH v5 13/25] powerpc/secvar: Don't print error on ENOENT when reading variables

2023-01-30 Thread Andrew Donnellan
If attempting to read the size or data attributes of a non-existent variable (which will be possible after a later patch to expose the PLPKS via the secvar interface), don't spam the kernel log with error messages. Only print errors for return codes that aren't ENOENT. Reported-by: Sudhakar Kuppu