summaryrefslogtreecommitdiff
path: root/drivers/block/xen-blkback/common.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-13 00:43:12 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-13 00:43:12 +0400
commit22b20f2dffd09edd66127f2022c26d0039bad88e (patch)
tree08c235963147f9866e274abd7ed46c36fae8f179 /drivers/block/xen-blkback/common.h
parent1afbd730a33c6e4ca780a70351e8929dd4c40636 (diff)
downloadlinux-22b20f2dffd09edd66127f2022c26d0039bad88e.tar.xz
xen/blkback: Use the DRV_PFX in the pr_.. macros.
To make it easier to read. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback/common.h')
-rw-r--r--drivers/block/xen-blkback/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index 46e5d0630440..da96e3eaa641 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -42,8 +42,9 @@
#include <xen/grant_table.h>
#include <xen/xenbus.h>
+#define DRV_PFX "xen-blkback:"
#define DPRINTK(fmt, args...) \
- pr_debug("xen-blkback: (%s:%d) " fmt ".\n", \
+ pr_debug(DRV_PFX "(%s:%d) " fmt ".\n", \
__func__, __LINE__, ##args)
struct vbd {