Michal Lenc created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/822

Project:Branches: michallenc/rtems:xilinx_zynq_zedboard-compile-fix to 
rtems/rtos/rtems:main
Author:   Michal Lenc




## Summary

Fixes following unused parameter warning (treated as error) in build
without assertions.

```
[  25/1550] Compiling bsps/arm/xilinx-zynq/start/bspsmp.c
../../../bsps/arm/xilinx-zynq/start/bspsmp.c: In function 
'_CPU_SMP_Start_processor':
../../../bsps/arm/xilinx-zynq/start/bspsmp.c:42:40: error: unused parameter 
'cpu_index' [-Werror=unused-parameter]
   42 | bool _CPU_SMP_Start_processor(uint32_t cpu_index)
      |                               ~~~~~~~~~^~~~~~~~~
cc1: all warnings being treated as errors
```

Happens if `arm/xilinx_zynq_zedboard` board is configured and `RTEMS_SMP`
is enabled.

Signed-off-by: Michal Lenc <[email protected]>


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/822
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to