[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260201165344.950870-1-ssrish@linux.ibm.com>
Date: Sun, 1 Feb 2026 22:23:44 +0530
From: Srish Srinivasan <ssrish@...ux.ibm.com>
To: linuxppc-dev@...ts.ozlabs.org
Cc: maddy@...ux.ibm.com, mpe@...erman.id.au, npiggin@...il.com,
christophe.leroy@...roup.eu, nayna@...ux.ibm.com, zohar@...ux.ibm.com,
rnsastry@...ux.ibm.com, linux-kernel@...r.kernel.org,
ssrish@...ux.ibm.com
Subject: [PATCH] powerpc/pseries: plpks: export plpks_wrapping_is_supported
Building trusted-keys as a module fails modpost with:
ERROR: modpost: "plpks_wrapping_is_supported" [security/keys/trusted-keys/
trusted.ko] undefined!
Export plpks_wrapping_is_supported() so trusted-keys links cleanly
This patch is intended to be applied on top of the earlier "Extend "trusted
" keys to support a new trust source named the PowerVM Key Wrapping Module
(PKWM)" series (v5).
Link: https://lore.kernel.org/all/20260127145228.48320-1-ssrish@linux.ibm.com/
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602010724.1g9hbLKv-lkp@intel.com/
Signed-off-by: Srish Srinivasan <ssrish@...ux.ibm.com>
---
arch/powerpc/platforms/pseries/plpks.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/pseries/plpks.c b/arch/powerpc/platforms/pseries/plpks.c
index 038ecf8f6d6b..23e4e2a922fc 100644
--- a/arch/powerpc/platforms/pseries/plpks.c
+++ b/arch/powerpc/platforms/pseries/plpks.c
@@ -896,6 +896,7 @@ bool plpks_wrapping_is_supported(void)
{
return wrapsupport;
}
+EXPORT_SYMBOL_GPL(plpks_wrapping_is_supported);
/**
* plpks_gen_wrapping_key() - Generate a new random key with the 'wrapping key'
--
2.47.3
Powered by blists - more mailing lists