Re: [PATCH] arm64: zynqmp: Fix compiler warnings in mp.c

2022-10-07 Thread Michal Simek
On 10/4/22 07:34, Venkatesh Yadav Abbarapu wrote: make W=1 generates the following warning in cpu_disable, cpu_status and cpu_release functions. arch/arm/mach-zynqmp/mp.c:166:16: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 166 | if (nr >= ZYNQMP

[PATCH] arm64: zynqmp: Fix compiler warnings in mp.c

2022-10-04 Thread Venkatesh Yadav Abbarapu
make W=1 generates the following warning in cpu_disable, cpu_status and cpu_release functions. arch/arm/mach-zynqmp/mp.c:166:16: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 166 | if (nr >= ZYNQMP_CORE_APU0 && nr <= ZYNQMP_CORE_APU3) { |