[coreboot] Patch merged into coreboot/master: 93ded59 libpayload: Turn the "debug" #define into the usb_debug static inline function.

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

the following patch was just integrated into master:
commit 93ded5905c36d34c4e4f132623c854bbd895b8c9
Author: Gabe Black <gabeblack at google.com>
Date:   Thu Nov 1 15:44:10 2012 -0700

    libpayload: Turn the "debug" #define into the usb_debug static inline function.
    The "debug" macro used internally in the libpayload USB subsystem was very
    generically named and would leak into consumers of the library that included
    usb.h directly or indirectly. This change turns that #define from a macro into
    a static inline function to move away from the preprocessor, and also renames
    it to usb_debug so it's less likely to collide with something unrelated.
    Change-Id: I18717df111aa9671495f8a2a5bdb2c6311fa7acf
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: http://review.coreboot.org/1738
    Reviewed-by: Patrick Georgi <patrick at georgi-clan.de>
    Tested-by: build bot (Jenkins)

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Wed Nov  7 08:35:58 2012, giving +2
Build-Tested: build bot (Jenkins) at Wed Nov  7 17:50:40 2012, giving +1
See http://review.coreboot.org/1738 for details.


More information about the coreboot mailing list