mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-24 00:12:13 +00:00
872a9b81ee
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:
|
||
---|---|---|
.. | ||
bootscripts | ||
common | ||
microblaze-generic | ||
versal | ||
versal-net | ||
zynq | ||
zynqmp | ||
zynqmp_r5 | ||
Kconfig |