[openib-general] Re: [PATCHv2} ucm: Only print messages when debug level set

Michael S. Tsirkin mst at mellanox.co.il
Wed Jul 13 13:29:33 PDT 2005


Quoting r. Hal Rosenstock <halr at voltaire.com>:
> @@ -56,6 +61,10 @@ enum {
>  
>  #define IB_UCM_DEV MKDEV(IB_UCM_MAJOR, IB_UCM_MINOR)
>  
> +#define ucm_dbg(format, arg...)                 \
> +	if (ucm_debug_level > 0)        \
> +		printk(KERN_DEBUG format, ## arg)
> +

What happened to whitespace here?
Also, may it be a good idea for ucm_dbg to add the UCM: prefix automatically?

-- 
MST



More information about the general mailing list