Skip to content

Commit

Permalink
xen/blkback: Make the DPRINTK uniform.
Browse files Browse the repository at this point in the history
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Konrad Rzeszutek Wilk committed May 12, 2011
1 parent ebe8190 commit 1afbd73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions drivers/block/xen-blkback/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
#include <xen/grant_table.h>
#include <xen/xenbus.h>

#define DPRINTK(_f, _a...) \
pr_debug("(file=%s, line=%d) " _f, \
__FILE__ , __LINE__ , ## _a)
#define DPRINTK(fmt, args...) \
pr_debug("xen-blkback: (%s:%d) " fmt ".\n", \
__func__, __LINE__, ##args)

struct vbd {
/* What the domain refers to this vbd as. */
Expand Down
5 changes: 0 additions & 5 deletions drivers/block/xen-blkback/xenbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
#include <xen/grant_table.h>
#include "common.h"

#undef DPRINTK
#define DPRINTK(fmt, args...) \
pr_debug("xen-blkback: (%s:%d) " fmt ".\n", \
__func__, __LINE__, ##args)

struct backend_info {
struct xenbus_device *dev;
struct blkif_st *blkif;
Expand Down

0 comments on commit 1afbd73

Please sign in to comment.