From eec3402339246b98ab35ab880a3f7eac614a8cb5 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 11 Jan 2017 09:43:52 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/18100 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- src/southbridge/nvidia/mcp55/nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/southbridge/nvidia/mcp55/nic.c b/src/southbridge/nvidia/mcp55/nic.c index 2474ef325b..be9daf7d7c 100644 --- a/src/southbridge/nvidia/mcp55/nic.c +++ b/src/southbridge/nvidia/mcp55/nic.c @@ -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;