[coreboot-gerrit] New patch to review for coreboot: fe710ae rmodule: Correct the typecast with proper parenthesis

Marc Jones (marc.jones@se-eng.com) gerrit at coreboot.org
Mon Jan 19 22:20:21 CET 2015


Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8237

-gerrit

commit fe710ae77f245bfd536c8ef2d1df2cc3884a70b7
Author: Furquan Shaikh <furquan at google.com>
Date:   Wed Jul 23 04:44:09 2014 -0700

    rmodule: Correct the typecast with proper parenthesis
    
    BUG=None
    BRANCH=None
    TEST=Compiles successfully
    
    Original-Change-Id: I67801f96ec63a3150263ce3d6a4a7556092c6be5
    Original-Signed-off-by: Furquan Shaikh <furquan at google.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/209505
    Original-Tested-by: Furquan Shaikh <furquan at chromium.org>
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Original-Commit-Queue: Aaron Durbin <adurbin at chromium.org>
    (cherry picked from commit 71cd62740e150cb5b5adc1b20c7f13fa8c51b7e3)
    Signed-off-by: Marc Jones <marc.jones at se-eng.com>
    
    Change-Id: I0c3f5f10a3af7028728dadca539681a081d858e0
---
 src/lib/rmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c
index 828a63d..d7c2326 100644
--- a/src/lib/rmodule.c
+++ b/src/lib/rmodule.c
@@ -162,7 +162,7 @@ static int rmodule_relocate(const struct rmodule *module)
 		adjust_loc = rmodule_load_addr(module, *reloc);
 		printk(PK_ADJ_LEVEL, "Adjusting %p: 0x%08lx -> 0x%08lx\n",
 		       adjust_loc, (unsigned long) *adjust_loc,
-		       (unsigned long) *adjust_loc + adjustment);
+		       (unsigned long) (*adjust_loc + adjustment));
 			*adjust_loc += adjustment;
 
 		reloc++;



More information about the coreboot-gerrit mailing list