diff options
| author | Venkatesh Yadav Abbarapu <[email protected]> | 2022-10-04 11:22:54 +0530 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-10-10 12:28:08 +0200 |
| commit | f60be62d771c9a9d0b57576c0ef5fb832d8d40ba (patch) | |
| tree | 4a81ec08ac33c9f86b009a847059099958eeeeb3 /scripts | |
| parent | 024cfd0ab5aacc809d24991902705f58c73da06e (diff) | |
xilinx: zynqmp: change the type of multiboot variable
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:
board/xilinx/zynqmp/zynqmp.c:651:23:
warning: comparison is always false due to limited range of data type
[-Wtype-limits]
651 | if (multiboot < 0)
Signed-off-by: Venkatesh Yadav Abbarapu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
