nuttx-update/arch
hujun5 c0f7dd979e fix compile error
CC:  pthread/pthread_exit.c common/espressif/esp_lowputc.c: In function 'esp_lowputc_disable_all_uart_int':
common/espressif/esp_lowputc.c:215:29: error: passing argument 1 of 'spin_lock_irqsave' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  215 |   flags = spin_lock_irqsave(&priv->lock);
      |                             ^~~~~~~~~~~
In file included from common/espressif/esp_lowputc.c:40:
/home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:511:55: note: expected 'volatile spinlock_t *' {aka 'volatile unsigned int *'} but argument is of type 'const spinlock_t *' {aka 'const unsigned int *'}
  511 | irqstate_t spin_lock_irqsave(FAR volatile spinlock_t *lock)
      |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~
common/espressif/esp_lowputc.c:232:26: error: passing argument 1 of 'spin_unlock_irqrestore' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  232 |   spin_unlock_irqrestore(&priv->lock, flags);
      |                          ^~~~~~~~~~~
/home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:674:54: note: expected 'volatile spinlock_t *' {aka 'volatile unsigned int *'} but argument is of type 'const spinlock_t *' {aka 'const unsigned int *'}
  674 | void spin_unlock_irqrestore(FAR volatile spinlock_t *lock,

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-26 23:43:49 +08:00
..
arm use small lock in following files: 2024-12-23 23:02:26 +08:00
arm64 use small lock in following file 2024-12-23 23:01:01 +08:00
avr modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
ceva modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
dummy arch: Add custom arch chip build support 2020-10-20 14:48:16 +08:00
hc modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
mips use small lock in following files: 2024-12-23 22:48:35 +08:00
misoc modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
or1k use small lock in following file 2024-12-22 18:59:44 +08:00
renesas remove big lock in arch_phy_irq 2024-12-18 23:28:18 +08:00
risc-v fix compile error 2024-12-26 23:43:49 +08:00
sim sim_alsa: set paused to false when executing close 2024-12-26 23:31:55 +08:00
sparc use small lock in following files: 2024-12-23 22:48:35 +08:00
tricore debug symbol level: Use config instead 2024-12-04 22:36:45 +08:00
x86 modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
x86_64 modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
xtensa fix compile error 2024-12-23 14:48:35 +08:00
z16 use small lock in following files 2024-12-22 18:43:26 +08:00
z80 use small lock in following files 2024-12-22 18:43:26 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00