Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duo : wdt : 编译告警 #8933

Closed
unicornx opened this issue May 10, 2024 · 2 comments
Closed

duo : wdt : 编译告警 #8933

unicornx opened this issue May 10, 2024 · 2 comments
Assignees
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek

Comments

@unicornx
Copy link
Contributor

bsp/cvitek/cv18xx_risc-v master

/home/u/ws/duo/rt-thread/bsp/cvitek/drivers/drv_wdt.c: In function '_wdt_control':
/home/u/ws/duo/rt-thread/bsp/cvitek/drivers/drv_wdt.c:119:38: warning: assignment to 'void *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion]
  119 |         wdt_device->parent.user_data = (rt_uint32_t)(*(rt_uint32_t *)arg);
      |                                      ^
/home/u/ws/duo/rt-thread/bsp/cvitek/drivers/drv_wdt.c:122:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  122 |         *(rt_uint32_t *)arg = (rt_uint32_t)wdt_device->parent.user_data;
      |                               ^
@unicornx unicornx self-assigned this Jul 12, 2024
@unicornx unicornx added BSP: Cvitek BSP related with cvitek Arch: RISC-V BSP related with risc-v RT-Smart RT-Thread Smart related PR or issues labels Jul 12, 2024
@unicornx
Copy link
Contributor Author

已经合入 duo-v5.1.0 flyingcys#33,有待 upstream

@unicornx unicornx removed the RT-Smart RT-Thread Smart related PR or issues label Jul 16, 2024
@unicornx
Copy link
Contributor Author

fixed in #9201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek
Projects
None yet
Development

No branches or pull requests

1 participant