[coreboot-gerrit] Patch merged into coreboot/master: util/cbfstool: Fix to build with latest llvm

gerrit at coreboot.org gerrit at coreboot.org
Wed Jan 4 21:37:45 CET 2017


the following patch was just integrated into master:
commit cf84619dd66789454b14a1dccb7b6c11cbb5e80a
Author: Manoj Gupta <manojgupta at google.com>
Date:   Mon Nov 14 11:19:30 2016 -0800

    util/cbfstool: Fix to build with latest llvm
    
    cbfs-payload-linux.c:255:43: note: add parentheses around left
    hand side expression to silence this warning
    
    if ((hdr->protocol_version >= 0x200) && (!hdr->loadflags & 1)) {
    
    [pg: also fix the semantics. Thanks Nico for catching this]
    
    BUG=chromium:665657
    TEST=coreboot-utils builds
    
    Change-Id: I025c784330885cce8ae43c44f9d938394af30ed5
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 35c4935f2a89c3d3b45213372bcf0474a60eda43
    Original-Change-Id: I8758e7d158ca32e87107797f2a33b9d9a0e4676f
    Original-Reviewed-on: https://chromium-review.googlesource.com/411335
    Original-Commit-Ready: Manoj Gupta <manojgupta at chromium.org>
    Original-Tested-by: Manoj Gupta <manojgupta at chromium.org>
    Original-Reviewed-by: Mike Frysinger <vapier at chromium.org>
    Reviewed-on: https://review.coreboot.org/17568
    Tested-by: build bot (Jenkins)
    Reviewed-by: Nico Huber <nico.h at gmx.de>


See https://review.coreboot.org/17568 for details.

-gerrit



More information about the coreboot-gerrit mailing list