[coreboot-gerrit] Patch merged into coreboot/master: fe9e30d include/types.h: Add generic enum for error codes

gerrit at coreboot.org gerrit at coreboot.org
Mon Nov 25 23:59:48 CET 2013

the following patch was just integrated into master:
commit fe9e30d6b74e340f9a97b9e358e20ec8a2785954
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date:   Sat Nov 23 17:46:04 2013 -0600

    include/types.h: Add generic enum for error codes
    The idea is that instead of:
     if (do_something()) do_something_else();
    It is more readable to write:
     if (do_something() != CB_SUCCESS) handle_error();
    Change-Id: I4fa5a6f2d2960cd747fda6602bdfff6aef08f8e2
    Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
    Reviewed-on: http://review.coreboot.org/4264
    Tested-by: build bot (Jenkins)
    Reviewed-by: Vladimir Serbinenko <phcoder at gmail.com>
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>

See http://review.coreboot.org/4264 for details.


More information about the coreboot-gerrit mailing list