[coreboot] Patch merged into coreboot/master: e88e1ab libpayload: Add the format attribute to functions in stdio.h.

gerrit at coreboot.org gerrit at coreboot.org
Wed Nov 7 18:36:14 CET 2012


the following patch was just integrated into master:
commit e88e1ab864c636c020e124846f908439c1080d16
Author: Gabe Black <gabeblack at google.com>
Date:   Tue Oct 2 00:32:59 2012 -0700

    libpayload: Add the format attribute to functions in stdio.h.
    
    gcc recognizes the format function attribute which tells the compiler to expect
    the format string to look a certain way and for its arguments to be of
    appropriate types. This helps to prevent errors like the one that was recently
    fixed in libpayload's assert.
    
    Change-Id: I284ae8bff32f72cfd2d1a250d126c729b38a5730
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: http://review.coreboot.org/1731
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <patrick at georgi-clan.de>

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Wed Nov  7 18:19:42 2012, giving +2
Build-Tested: build bot (Jenkins) at Wed Nov  7 16:16:54 2012, giving +1
See http://review.coreboot.org/1731 for details.

-gerrit




More information about the coreboot mailing list