[coreboot-gerrit] New patch to review for coreboot: autoport: Add missing casts
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Mon Jan 11 18:44:15 CET 2016
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12890
-gerrit
commit c847fe9f9d4a2db415f4865dca8e260cdb621a9e
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Mon Jan 11 18:43:25 2016 +0100
autoport: Add missing casts
Change-Id: I04abdd48f5e2440756f9b03041d46c773f200368
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
util/autoport/bd82x6x.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index a1513e8..c1a9c5f 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -397,12 +397,12 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
func init() {
/* BD82X6X LPC */
for id := 0x1c40; id <= 0x1c5f; id++ {
- RegisterPCI(0x8086, id, bd82x6x{variant: "BD82X6X"})
+ RegisterPCI(0x8086, uint16(id), bd82x6x{variant: "BD82X6X"})
}
/* C216 LPC */
for id := 0x1e41; id <= 0x1e5f; id++ {
- RegisterPCI(0x8086, id, bd82x6x{variant: "C216"})
+ RegisterPCI(0x8086, uint16(id), bd82x6x{variant: "C216"})
}
/* PCIe bridge */
More information about the coreboot-gerrit
mailing list