Skip to content

Commit e2071f9

Browse files
ssrish17maddy-kerneldev
authored andcommitted
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@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202602010724.1g9hbLKv-lkp@intel.com/ Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260201165344.950870-1-ssrish@linux.ibm.com
1 parent 1d72a02 commit e2071f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • arch/powerpc/platforms/pseries

arch/powerpc/platforms/pseries/plpks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ bool plpks_wrapping_is_supported(void)
896896
{
897897
return wrapsupport;
898898
}
899+
EXPORT_SYMBOL_GPL(plpks_wrapping_is_supported);
899900

900901
/**
901902
* plpks_gen_wrapping_key() - Generate a new random key with the 'wrapping key'

0 commit comments

Comments
 (0)