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/[email protected]/ Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Srish Srinivasan <[email protected]> Tested-by: Venkat Rao Bagalkote <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
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)