u-boot/board/xilinx/common
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
..
board.c xilinx: common: fix board_late_init_xilinx() 2022-10-10 12:28:08 +02:00
board.h xilinx: board: Read the whole eeprom not just offset 2020-10-27 08:13:32 +01:00
cpu-info.c xilinx: common: Add print_cpuinfo() declaration 2022-10-10 12:28:08 +02:00
fru.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
fru.h fru: ops: Add support to read mac addresses from multirecord 2022-03-07 08:48:22 +01:00
fru_ops.c fru: ops: Add support to read mac addresses from multirecord 2022-03-07 08:48:22 +01:00
Makefile xilinx: common: Separate display cpu info function 2022-06-24 14:37:27 +02:00