1
0
Fork 0

drm/i915/gvt: Make gvt_vgpu_err use pr_err

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>
hifive-unleashed-5.1
Changbin Du 2017-11-02 13:33:32 +08:00 committed by Zhenyu Wang
parent e4aeba6979
commit c982c45db6
1 changed files with 2 additions and 2 deletions

View File

@ -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...) \