On Fri, 2022-04-08 at 13:31 -0400, Mimi Zohar wrote: > 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 <m...@ellerman.id.au> > > > > I assume you want to upstream this via power, > > > > Reviewed-by: Mimi Zohar <zo...@linux.ibm.com> > > Sorry, I just noticed that is_ppc_trustedboot_enabled() is also called > by arch_ima_get_secureboot().
Never mind, arch_ima_get_secureboot() calls is_ppc_secureboot_enabled(), not is_ppc_trustedboot_enabled().