[PATCH] powerpc: Mark arch_get_ima_policy() and is_ppc_trustedboot_enabled() as __init
Mimi Zohar
zohar at linux.ibm.com
Sat Apr 9 03:31:09 AEST 2022
On Fri, 2022-04-08 at 12:05 -0400, Mimi Zohar wrote:
> On Fri, 2022-04-08 at 00:15 +1000, Michael Ellerman wrote:
> > We can mark arch_get_ima_policy() as __init because it's only caller
> > ima_init_arch_policy() is __init. We can then mark
> > is_ppc_trustedboot_enabled() __init because its only caller is
> > arch_get_ima_policy().
> >
> > Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
>
> I assume you want to upstream this via power,
>
> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>
Sorry, I just noticed that is_ppc_trustedboot_enabled() is also called
by arch_ima_get_secureboot().
Mimi
More information about the Linuxppc-dev
mailing list