diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-05-12 16:43:12 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-05-12 16:43:12 -0400 |
commit | 22b20f2dffd09edd66127f2022c26d0039bad88e (patch) | |
tree | 08c235963147f9866e274abd7ed46c36fae8f179 /drivers/block/xen-blkback/common.h | |
parent | 1afbd730a33c6e4ca780a70351e8929dd4c40636 (diff) |
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.h | 3 |
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 @@ | |||
42 | #include <xen/grant_table.h> | 42 | #include <xen/grant_table.h> |
43 | #include <xen/xenbus.h> | 43 | #include <xen/xenbus.h> |
44 | 44 | ||
45 | #define DRV_PFX "xen-blkback:" | ||
45 | #define DPRINTK(fmt, args...) \ | 46 | #define DPRINTK(fmt, args...) \ |
46 | pr_debug("xen-blkback: (%s:%d) " fmt ".\n", \ | 47 | pr_debug(DRV_PFX "(%s:%d) " fmt ".\n", \ |
47 | __func__, __LINE__, ##args) | 48 | __func__, __LINE__, ##args) |
48 | 49 | ||
49 | struct vbd { | 50 | struct vbd { |