u-boot/board/xilinx
Heinrich Schuchardt 872a9b81ee xilinx: common: fix board_late_init_xilinx()
Compiling with GCC-12 leads to an error:

    +board/xilinx/common/board.c:479:37: error: the comparison will always
     evaluate as 'true' for the address of 'mac_addr' will never be NULL
     [-Werror=address]
    +  479 |                                 if (!desc->mac_addr[i])
    +      |                                     ^

Remove the redundant check.

Fixes: a03b594738 ("xilinx: board: Add support for additional card detection")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Link: https://lore.kernel.org/r/20221008091317.52838-1-heinrich.schuchardt@canonical.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-10-10 12:28:08 +02:00
..
bootscripts xilinx: Add sd boot command script for reference 2019-10-08 09:11:13 +02:00
common xilinx: common: fix board_late_init_xilinx() 2022-10-10 12:28:08 +02:00
microblaze-generic arm64: xilinx: Move board_get_usable_ram_top() to common location 2022-09-13 11:32:48 +02:00
versal arm64: xilinx: Move board_get_usable_ram_top() to common location 2022-09-13 11:32:48 +02:00
versal-net arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
zynq xilinx: zynq: Enable early eeprom decoding 2022-10-05 08:43:53 +02:00
zynqmp xilinx: zynqmp: change the type of multiboot variable 2022-10-10 12:28:08 +02:00
zynqmp_r5 .mailmap: Start to use new amd.com email address 2022-04-19 14:51:11 -04:00
Kconfig arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00