mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
Appease a GCC warning
```
common/xtensa_swint.c:442:24: error: passing argument 1 of 'up_dump_register' discards 'volatile' qualifier from pointer target type [-Werror=discarded-qualifiers]
442 | up_dump_register(CURRENT_REGS);
| ^~~~~~~~~~~~
```
This commit is contained in:
committed by
Petro Karashchenko
parent
ae596418ae
commit
8b81689f2c
@@ -432,7 +432,7 @@ int xtensa_swint(int irq, void *context, void *arg)
|
||||
if (regs != CURRENT_REGS)
|
||||
{
|
||||
svcinfo("SYSCALL Return: Context switch!\n");
|
||||
up_dump_register(CURRENT_REGS);
|
||||
up_dump_register((void *)CURRENT_REGS);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user