cpu/native: fix build with musl #25506
Annotations
9 warnings
cpu/native/irq_cpu.c#L251
line is longer than 100 characters
|
cpu/native/irq_cpu.c#L283
line is longer than 100 characters
|
cpu/native/irq_cpu.c#L362
line is longer than 100 characters
|
cpu/native/native_cpu.c#L174
line is longer than 100 characters
|
cpu/native/native_cpu.c#L277
line is longer than 100 characters
|
cpu/native/startup.c#L453
line is longer than 100 characters
|
sys/ps/ps.c#L131
comma should not be preceded by whitespace
|
sys/ps/ps.c#L135
comma should not be preceded by whitespace
|
core/thread.c#L246
Uncrustify proposes the following patch:
--- a/core/thread.c
+++ b/core/thread.c
@@ -239,8 +239,8 @@ kernel_pid_t thread_create(char *stack, int stacksize, uint8_t priority,
* Make sure the TLS area is aligned as required and that the
* resulting stack will also be aligned as required
*/
- thread->tls = (void *) ((uintptr_t) tls & ~ (TLS_ALIGN - 1));
- stacksize = (char *) thread->tls - stack;
+ thread->tls = (void *)((uintptr_t)tls & ~(TLS_ALIGN - 1));
+ stacksize = (char *)thread->tls - stack;
_init_tls(thread->tls);
#endif
|
This job succeeded
Loading