[coreboot-gerrit] Change in coreboot[master]: nb/intel/fsp_sandybridge: Add a cast
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Tue May 22 10:30:52 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26455
Change subject: nb/intel/fsp_sandybridge: Add a cast
......................................................................
nb/intel/fsp_sandybridge: Add a cast
Missing cast in Change 26195 added into function
northbridge_get_tseg_base(void).
Change-Id: Ideb9a9cb98d34f2ed1034b8ee20b3b06aa5ff1e2
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/intel/fsp_sandybridge/northbridge.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/26455/1
diff --git a/src/northbridge/intel/fsp_sandybridge/northbridge.c b/src/northbridge/intel/fsp_sandybridge/northbridge.c
index 3a07d42..1016c8b 100644
--- a/src/northbridge/intel/fsp_sandybridge/northbridge.c
+++ b/src/northbridge/intel/fsp_sandybridge/northbridge.c
@@ -287,7 +287,7 @@
u32 northbridge_get_tseg_base(void)
{
- struct device *dev = dev_find_slot(0, PCI_DEVFN(0, 0));
+ struct device *const dev = dev_find_slot(0, PCI_DEVFN(0, 0));
return northbridge_get_base_reg(dev, TSEG);
}
--
To view, visit https://review.coreboot.org/26455
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ideb9a9cb98d34f2ed1034b8ee20b3b06aa5ff1e2
Gerrit-Change-Number: 26455
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180522/8bb53361/attachment.html>
More information about the coreboot-gerrit
mailing list