af149b44cd
common/riscv_backtrace.c: In function 'up_backtrace':
common/riscv_backtrace.c:145:27: error: passing argument 1 of 'backtrace' from incompatible pointer type [-Werror=incompatible-pointer-types]
145 | ret = backtrace(g_intstackalloc,
| ^~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
common/riscv_backtrace.c:64:33: note: expected 'uintptr_t *' {aka 'unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
64 | static int backtrace(uintptr_t *base, uintptr_t *limit,
| ~~~~~~~~~~~^~~~
common/riscv_backtrace.c:146:43: error: passing argument 2 of 'backtrace' from incompatible pointer type [-Werror=incompatible-pointer-types]
146 | g_intstackalloc + CONFIG_ARCH_INTERRUPTSTACK,
| ^
| |
| uint8_t * {aka unsigned char *}
common/riscv_backtrace.c:64:50: note: expected 'uintptr_t *' {aka 'unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
64 | static int backtrace(uintptr_t *base, uintptr_t *limit,
| ~~~~~~~~~~~^~~~~
Regression by:
| commit
|
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |