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

Nathan Lynch nathanl at linux.ibm.com
Sat Jan 16 03:04:33 AEDT 2021


Alexey Kardashevskiy <aik at ozlabs.ru> 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);
>> +	}
>> +
>
> Unnecessary curly braces (I understand it is cut-n-paste but still) and 
> an empty line.

Yes, will fix in v2, thanks.


More information about the Linuxppc-dev mailing list