summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorAndrew Donnellan <ajd@linux.ibm.com>2023-02-10 11:03:48 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-02-12 14:12:37 +0300
commitc96db155ebc6be868d5dde1b5caf6879c181cda4 (patch)
tree92d5640834c30d54b5d5d7c40c851e461c07b883 /arch/powerpc/platforms
parent6d64c497a31bd888110785def44529ebb96bce49 (diff)
downloadlinux-c96db155ebc6be868d5dde1b5caf6879c181cda4.tar.xz
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 <sudhakar@linux.ibm.com> Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230210080401.345462-14-ajd@linux.ibm.com
Diffstat (limited to 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions