[PATCH] powerpc: Mark arch_get_ima_policy() and is_ppc_trustedboot_enabled() as __init

Michael Ellerman mpe at ellerman.id.au
Sat Apr 9 23:03:13 AEST 2022


Mimi Zohar <zohar at linux.ibm.com> writes:
> 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>

Yep, thanks.

cheers


More information about the Linuxppc-dev mailing list