drivers/net/r8168: Fix extraneous space in "ethernet_mac "
Unfortunately this was noticed only after commit 0e1380683f
merged, credit to Sam McNally for spotting it. Previously
the legacy path replaced the space with a null byte and so
the expected string here is precisely "ethernet_mac" and
not "ethernet_mac ".
BUG=b:152157720
BRANCH=none
TEST=none
Change-Id: I603fad4efd6d6c539137dd714329bcea1877abdd
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39856
Reviewed-by: Sam McNally <sammc@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0e1380683f
commit
2a0a02f98f
|
@ -170,7 +170,7 @@ static void fetch_mac_string_vpd(struct drivers_net_config *config, u8 *macstrbu
|
|||
return;
|
||||
}
|
||||
|
||||
if (fetch_mac_vpd_key(macstrbuf, "ethernet_mac ") != CB_SUCCESS)
|
||||
if (fetch_mac_vpd_key(macstrbuf, "ethernet_mac") != CB_SUCCESS)
|
||||
printk(BIOS_ERR, "r8168: mac address not found in VPD,"
|
||||
" using default 00:e0:4c:00:c0:b0\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue