On 05/17/2014 05:03 PM, Marc Marí wrote:
> Modify debug macros to have the same format through the codebase and use 
> regular
> ifs instead of ifdef.
> 
> Signed-off-by: Marc Marí <marc.mari.barc...@gmail.com>
> ---
>  hw/sd/sd.c     |    8 +++++---
>  hw/sd/ssi-sd.c |   19 ++++++++++++-------
>  2 files changed, 17 insertions(+), 10 deletions(-)
> 

> +#define DPRINTF(fmt, ...) \
> +    QEMU_DPRINTF(DEBUG_SSI_SD_ENABLED, "ssi_sd", fmt, ## __VA_ARGS__)
> +#define BADF(fmt, ...) \
> +    do { \
> +        QEMU_DPRINTF(1, "ssi_sd error", fmt, ## __VA_ARGS__); \
> +        if(DEBUG_SSI_SD_ENABLED) { \

Style: space after 'if'

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to