On 12/29/05, Bryan O'Sullivan <[EMAIL PROTECTED]> wrote:
> diff -r f9bcd9de3548 -r 26993cb5faee drivers/infiniband/hw/ipath/verbs_debug.h
> --- /dev/null   Thu Jan  1 00:00:00 1970 +0000
> +++ b/drivers/infiniband/hw/ipath/verbs_debug.h Wed Dec 28 14:19:43 2005 -0800
> +#ifndef _VERBS_DEBUG_H
> +#define _VERBS_DEBUG_H
> +
> +/*
> + * This file contains tracing code for the ib_ipath kernel module.
> + */
> +#ifndef _VERBS_DEBUGGING       /* tracing enabled or not */
> +#define _VERBS_DEBUGGING 1
> +#endif
> +
> +extern unsigned ib_ipath_debug;
> +
> +#define _VERBS_ERROR(fmt,...) \
> +       do { \
> +               printk(KERN_ERR "%s: " fmt, "ib_ipath", ##__VA_ARGS__); \
> +       } while(0)

[snip, snip]

Please consider using dev_dbg, dev_err, and friends from <linux/device.h>.

                                       Pekka
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to