[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [patch 20/20] XEN-paravirt: Add Xen virtual block device driver.
On Sat, Jan 13, 2007 at 05:07:28PM -0800, Arjan van de Ven wrote: > > + > > +#define DPRINTK(_f, _a...) pr_debug(_f, ## _a) > > why this silly abstraction? Just use pr_debug in the code directly Actually, for drivers, like this one, you should use the dev_printk() and friends (dev_dbg, dev_err, etc.) instead so that userspace knows exactly which device and driver the message comes from. thanks, greg k-h _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |