[coreboot-gerrit] New patch to review for coreboot: 3412fd1 AMD F15: Fix warning in Proc/CPU/Feature

Martin Roth (martin.roth@se-eng.com) gerrit at coreboot.org
Tue Apr 23 23:13:35 CEST 2013

Martin Roth (martin.roth at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3126


commit 3412fd185fb0e2a1b0d9d05b30ac811534cc9db5
Author: Martin Roth <martin.roth at se-eng.com>
Date:   Tue Apr 23 15:11:52 2013 -0600

    AMD F15: Fix warning in Proc/CPU/Feature
    Fix Warning:
    cpuFeatureLeveling.c:265, GNU Compiler 4 (gcc), Priority: Normal
    cast to pointer from integer of different size [-Wint-to-pointer-cast]
    with an intermediate cast to (intptr_t)
    Change-Id: I3bfd2ea1e797632316675338789dabef8f73ba64
    Signed-off-by: Martin Roth <martin.roth at se-eng.com>
 src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c
index 1f2e708..294a18d 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c
@@ -262,5 +262,5 @@ GetGlobalCpuFeatureListAddress (
-  *Address = (UINT64 *)(AddressValue);
+  *Address = (UINT64 *) (intptr_t) (AddressValue);

More information about the coreboot-gerrit mailing list