diff options
author | Maxim Polyakov <max.senia.poliak@gmail.com> | 2020-08-12 13:21:26 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-28 09:42:24 +0000 |
commit | fd76c5e540e46541ea0f34ea4cf633e5cb5ac6ef (patch) | |
tree | b3a9f8bda60bc6f02bc2bb774e428bc7f9d00f60 /util | |
parent | 5f43369bec670067a7199a80f982ec8f9bcc69b0 (diff) | |
download | coreboot-fd76c5e540e46541ea0f34ea4cf633e5cb5ac6ef.tar.xz |
util/intelp2m: Remove unnecessary tabs
Change-Id: I5aa4b9ac4fa1ceb6f3c2ade214d47b29246ece55
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44474
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util')
-rw-r--r-- | util/intelp2m/parser/template.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |