Re: [PATCH 4/6] powerpc/rtas: move syscall filter setup into separate function

2021-01-15 Thread Nathan Lynch
Alexey Kardashevskiy writes: > On 15/01/2021 09:00, Nathan Lynch wrote: >> +static void __init rtas_syscall_filter_init(void) >> +{ >> +unsigned int i; >> + >> +for (i = 0; i < ARRAY_SIZE(rtas_filters); i++) { >> +rtas_filters[i].token = rtas_token(rtas_filters[i].name); >> +

Re: [PATCH 4/6] powerpc/rtas: move syscall filter setup into separate function

2021-01-14 Thread Andrew Donnellan
On 15/1/21 9:00 am, Nathan Lynch wrote: Reduce conditionally compiled sections within rtas_initialize() by moving the filter table initialization into its own function already guarded by CONFIG_PPC_RTAS_FILTER. No behavior change intended. Signed-off-by: Nathan Lynch Acked-by: Andrew

Re: [PATCH 4/6] powerpc/rtas: move syscall filter setup into separate function

2021-01-14 Thread Alexey Kardashevskiy
On 15/01/2021 09:00, Nathan Lynch wrote: Reduce conditionally compiled sections within rtas_initialize() by moving the filter table initialization into its own function already guarded by CONFIG_PPC_RTAS_FILTER. No behavior change intended. Signed-off-by: Nathan Lynch ---

[PATCH 4/6] powerpc/rtas: move syscall filter setup into separate function

2021-01-14 Thread Nathan Lynch
Reduce conditionally compiled sections within rtas_initialize() by moving the filter table initialization into its own function already guarded by CONFIG_PPC_RTAS_FILTER. No behavior change intended. Signed-off-by: Nathan Lynch --- arch/powerpc/kernel/rtas.c | 23 +++ 1 file