Re: [PATCH] xilinx: common: Fix static checker warnings

2022-10-04 Thread Michal Simek
On 9/26/22 08:52, Venkatesh Yadav Abbarapu wrote: Avoid signed extension for uuid and byte. Eliminate the below smatch warnings: board/xilinx/common/board.c:128 xilinx_eeprom_legacy_cleanup() warn: impossible condition '(byte == 255) => ((-128)-127 == 255)' board/xilinx/common/board.c:466

[PATCH] xilinx: common: Fix static checker warnings

2022-09-26 Thread Venkatesh Yadav Abbarapu
Avoid signed extension for uuid and byte. Eliminate the below smatch warnings: board/xilinx/common/board.c:128 xilinx_eeprom_legacy_cleanup() warn: impossible condition '(byte == 255) => ((-128)-127 == 255)' board/xilinx/common/board.c:466 board_late_init_xilinx() warn: argument 3 to %02x