sb/nvidia/mcp55: Fix typo in nic.c
The comparison value was obviously wrong here. One too many 'f' characters. Found-by: Coverity Scan #1229588 & 1229604 Change-Id: Iedd4f956d846f1c8661390b346c7397346def86b Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/18100 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
9b2fe630d6
commit
eec3402339
|
@ -72,7 +72,7 @@ static void phy_detect(u8 *base)
|
|||
val = phy_read(base, phyaddr, 1);
|
||||
if (val < 0)
|
||||
continue;
|
||||
if ((val & 0xffff) == 0xfffff)
|
||||
if ((val & 0xffff) == 0xffff)
|
||||
continue;
|
||||
if ((val & 0xffff) == 0)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue