diff options
author | Changbin Du <changbin.du@intel.com> | 2017-11-02 08:33:32 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 06:48:34 +0300 |
commit | c982c45db6a78e1c23a416785fe920542ae1f33e (patch) | |
tree | ea0928198bbd2d438e995e5e3b9524e675750f15 | |
parent | e4aeba697943692652246a2d0a040f0859d70e86 (diff) | |
download | linux-c982c45db6a78e1c23a416785fe920542ae1f33e.tar.xz |
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>
-rw-r--r-- | drivers/gpu/drm/i915/gvt/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/gvt/debug.h b/drivers/gpu/drm/i915/gvt/debug.h index d98d5a0b928c..c6027125c1ec 100644 --- a/drivers/gpu/drm/i915/gvt/debug.h +++ b/drivers/gpu/drm/i915/gvt/debug.h @@ -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...) \ |