From fd76c5e540e46541ea0f34ea4cf633e5cb5ac6ef Mon Sep 17 00:00:00 2001 From: Maxim Polyakov Date: Wed, 12 Aug 2020 13:21:26 +0300 Subject: util/intelp2m: Remove unnecessary tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5aa4b9ac4fa1ceb6f3c2ade214d47b29246ece55 Signed-off-by: Maxim Polyakov Reviewed-on: https://review.coreboot.org/c/coreboot/+/44474 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier Reviewed-by: Angel Pons Reviewed-by: Michael Niewöhner --- util/intelp2m/parser/template.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/intelp2m/parser') diff --git a/util/intelp2m/parser/template.go b/util/intelp2m/parser/template.go index bc7d702928..3248152ced 100644 --- a/util/intelp2m/parser/template.go +++ b/util/intelp2m/parser/template.go @@ -123,10 +123,10 @@ func registerInfoTemplate(line string, name *string, offset *uint32, value *uint // 0x0088: 0x00ffffff (HOSTSW_OWN_GPP_F) // 0x0100: 0x00000000 (GPI_IS_GPP_A) if fields := strings.FieldsFunc(line, tokenCheck); len(fields) == 3 { - *name = fields[2] - fmt.Sscanf(fields[1], "0x%x", value) - fmt.Sscanf(fields[0], "0x%x", offset) - return 0 + *name = fields[2] + fmt.Sscanf(fields[1], "0x%x", value) + fmt.Sscanf(fields[0], "0x%x", offset) + return 0 } return -1 } -- cgit v1.2.3