drm/i915/gvt: Make gvt_vgpu_err use pr_err
authorChangbin Du <changbin.du@intel.com>
Thu, 2 Nov 2017 05:33:32 +0000 (13:33 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:34 +0000 (11:48 +0800)
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>
drivers/gpu/drm/i915/gvt/debug.h

index d98d5a0b928c716c8f60dc980ed4183efd14990c..c6027125c1ec28db1f3497dec7f872874c4cf8f3 100644 (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...) \