Commit c982c45d authored by Changbin Du's avatar Changbin Du Committed by Zhenyu Wang

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: default avatarChangbin Du <changbin.du@intel.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent e4aeba69
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
#define gvt_vgpu_err(fmt, args...) \ #define gvt_vgpu_err(fmt, args...) \
do { \ do { \
if (IS_ERR_OR_NULL(vgpu)) \ if (IS_ERR_OR_NULL(vgpu)) \
pr_debug("gvt: "fmt, ##args); \ pr_err("gvt: "fmt, ##args); \
else \ else \
pr_debug("gvt: vgpu %d: "fmt, vgpu->id, ##args);\ pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
} while (0) } while (0)
#define gvt_dbg_core(fmt, args...) \ #define gvt_dbg_core(fmt, args...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment