diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-10-12 20:13:11 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-06 23:30:30 +0300 |
commit | f17fe71222e5fa0975089772e22b45979f202eff (patch) | |
tree | 16564e5c63e0389bd0b2d4cbc2fda2c6bfb03346 /Makefile | |
parent | d2ad92927ea91ab8cece92a308350602c594dd3e (diff) | |
download | u-boot-f17fe71222e5fa0975089772e22b45979f202eff.tar.xz |
powerpc: fix fdt_fixup_liodn_tbl_fman()
Builiding with GCC 12.2 fails:
arch/powerpc/cpu/mpc85xx/liodn.c: In function 'fdt_fixup_liodn_tbl_fman':
arch/powerpc/cpu/mpc85xx/liodn.c:340:35: error: the comparison will
always evaluate as 'false' for the address of 'compat'
will never be NULL [-Werror=address]
340 | if (tbl[i].compat == NULL)
|
Remove the superfluous check.
Fixes: 97a8d010e029 ("net/fman: Support both new and legacy FMan Compatibles")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions