[PATCH] drm/i915/gvt: Make gvt_vgpu_err use pr_err

Zhenyu Wang zhenyuw at linux.intel.com
Thu Nov 2 09:31:03 UTC 2017


On 2017.11.02 13:33:32 +0800, changbin.du at intel.com wrote:
> From: Changbin Du <changbin.du at intel.com>
> 
> gvt_vgpu_err means something goes wrong. We need the error propagates to
> kernel message by default.
> 
> Signed-off-by: Changbin Du <changbin.du at intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/debug.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/debug.h b/drivers/gpu/drm/i915/gvt/debug.h
> index d98d5a0..c602712 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...) \
> -- 

applied, thanks!

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20171102/c5e2db25/attachment.sig>


More information about the intel-gvt-dev mailing list