Re: [PATCH dovetail v9 11/11] riscv: dovetail: add core support

Tobias Schaffner <[email protected]> Mon, 6 Jul 2026 19:16:34 +0200
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
On 7/6/26 17:06, Florian Bezdeka wrote:
> On Fri, 2026-07-03 at 17:27 +0200, Tobias Schaffner wrote:
>> @@ -359,6 +391,15 @@ void do_trap_ecall_u(struct pt_regs *regs)
>>   
>>   		syscall = syscall_enter_from_user_mode(regs, syscall);
>>   
>> +		if(dovetailing()) {
> 
> checkpatch:
> 
> ERROR: space required before the open parenthesis '('
> #1426: FILE: arch/riscv/kernel/traps.c:394:
> +		if(dovetailing()) {
> 
> 
> Please double check checkpatch output for the complete series, there
> seems room for improvement.

Ah... That's the only checkpatch comlain. I will send a new version.

>> +			if (syscall == EXIT_SYSCALL_OOB) {
>> +				hard_local_irq_disable();
>> +				return;
>> +			}
>> +			if (syscall == EXIT_SYSCALL_TAIL)
>> +				goto done_inband;
>> +		}
>> +