[coreboot] Patch merged into coreboot/master: 8deb5c6 libpayload: Use the same type for 32 bit data in readl as in uint32_t.

gerrit at coreboot.org gerrit at coreboot.org
Fri Feb 15 06:52:02 CET 2013


the following patch was just integrated into master:
commit 8deb5c6e0fde0b326881c7684056fe9ec4f310e9
Author: Ronald G. Minnich <rminnich at gmail.com>
Date:   Thu Feb 14 17:35:49 2013 -0800

    libpayload: Use the same type for 32 bit data in readl as in uint32_t.
    
    The compiler gets mad when the types are equivalent size but not necessarily
    interchangeable because of strict aliasing checks. Since uint32_t is likely to
    be used when trying to read 32 bit data, it makes sense for them to be the
    compatible.
    
    Signed-off-by: Gabe Black <gabeblack at google.com>
    
    Change-Id: If73d794866055dc026fc06d6268e692adac0f835
    Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
    Reviewed-on: http://review.coreboot.org/2411
    Tested-by: build bot (Jenkins)
    Reviewed-by: Gabe Black <gabeblack at chromium.org>

Build-Tested: build bot (Jenkins) at Fri Feb 15 02:55:18 2013, giving +1
Reviewed-By: Gabe Black <gabeblack at chromium.org> at Fri Feb 15 06:26:24 2013, giving +2
See http://review.coreboot.org/2411 for details.

-gerrit



More information about the coreboot mailing list