Re: [PATCH] xilinx: zynqmp: change the type of multiboot variable

2022-10-07 Thread Michal Simek
On 10/4/22 07:52, Venkatesh Yadav Abbarapu wrote: In function ‘set_dfu_alt_info’ a comparison of a u8 value against 0 is done. Since it is always false, change the signature of this function to use an `int` instead, which match the type used in caller: `multi_boot()`. Fix the following

[PATCH] xilinx: zynqmp: change the type of multiboot variable

2022-10-04 Thread Venkatesh Yadav Abbarapu
In function ‘set_dfu_alt_info’ a comparison of a u8 value against 0 is done. Since it is always false, change the signature of this function to use an `int` instead, which match the type used in caller: `multi_boot()`. Fix the following warning triggered with W=1: