xiaoxiang781216 commented on PR #19353: URL: https://github.com/apache/nuttx/pull/19353#issuecomment-4899327429
@raulcxw please fix the warning: ``` ######################################################################## 100.0% ./env.sh: line 227: /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/.venv/bin/activate: No such file or directory WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/ram_common/ameba_pmctimer.c: In function 'PMCTimer_Init': Warning: /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/ram_common/ameba_pmctimer.c:159:53: warning: passing argument 3 of 'irq_register' makes integer from pointer without a cast [-Wint-conversion] 159 | InterruptRegister(PMCTimer_INT_Hdl, PMC_TIMER_IRQ, NULL, PMC_TIMER_INT_PRIO); | ^~~~ | | | void * In file included from /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/include/ameba.h:24, from /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/include/ameba_soc.h:10, from /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/ram_common/ameba_pmctimer.c:7: /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/include/ameba_vector.h:72:76: note: expected 'u32' {aka 'long unsigned int'} but argument is of type 'void *' 72 | extern _LONG_CALL_ bool irq_register(IRQ_FUN IrqFun, IRQn_Type IrqNum, u32 Data, u32 Priority); | ~~~~^~~~ /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/ram_common/ameba_pmu.c: In function 'pmu_init_wakeup_timer': Warning: /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/ram_common/ameba_pmu.c:330:60: warning: passing argument 3 of 'irq_register' makes integer from pointer without a cast [-Wint-conversion] 330 | InterruptRegister(pmc_wakeuptimer_int_hdl, PMC_TIMER_IRQ, NULL, PMC_TIMER_INT_PRIO); | ^~~~ | | | void * In file included from /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/include/ameba.h:24, from /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/include/ameba_soc.h:10, from /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/ram_common/ameba_pmu.c:7: /github/workspace/sources/nuttx/arch/arm/src/common/ameba/ameba-rtos/component/soc/RTL8720F/fwlib/include/ameba_vector.h:72:76: note: expected 'u32' {aka 'long unsigned int'} but argument is of type 'void *' 72 | extern _LONG_CALL_ bool irq_register(IRQ_FUN IrqFun, IRQn_Type IrqNum, u32 Data, u32 Priority); | ~~~~^~~~ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
