Skip to content

Commit

Permalink
drm/i915/gvt: Make gvt_vgpu_err use pr_err
Browse files Browse the repository at this point in the history
gvt_vgpu_err means something goes wrong. We need the error propagates to
kernel message by default.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
  • Loading branch information
Changbin Du authored and Zhenyu Wang committed Nov 16, 2017
1 parent e4aeba6 commit c982c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/gvt/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
#define gvt_vgpu_err(fmt, args...) \
do { \
if (IS_ERR_OR_NULL(vgpu)) \
pr_debug("gvt: "fmt, ##args); \
pr_err("gvt: "fmt, ##args); \
else \
pr_debug("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
} while (0)

#define gvt_dbg_core(fmt, args...) \
Expand Down

0 comments on commit c982c45

Please sign in to comment.