diff options
author | Andrew Donnellan <[email protected]> | 2023-02-10 19:03:48 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-02-12 22:12:37 +1100 |
commit | c96db155ebc6be868d5dde1b5caf6879c181cda4 (patch) | |
tree | 92d5640834c30d54b5d5d7c40c851e461c07b883 /rust/helpers.c | |
parent | 6d64c497a31bd888110785def44529ebb96bce49 (diff) |
powerpc/secvar: Don't print error on ENOENT when reading variables
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 Kuppusamy <[email protected]>
Signed-off-by: Andrew Donnellan <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions