[RFC PATCH intel-gvt-linux] drm/i915/gvt: intel_vgpu_set_irqs() can be static

Zhang, Tina tina.zhang at intel.com
Mon Jul 15 02:05:46 UTC 2019


This has already been fixed by commit "2e679d48f38", merged in January. Why we still have the report?

BR,
Tina

> -----Original Message-----
> From: lkp
> Sent: Sunday, July 14, 2019 9:46 PM
> To: Zhang, Tina <tina.zhang at intel.com>
> Cc: kbuild-all at 01.org; Wang, Zhenyu Z <zhenyu.z.wang at intel.com>; Zhu,
> Libo <libo.zhu at intel.com>; Xu, Terrence <terrence.xu at intel.com>; intel-
> gvt-dev at lists.freedesktop.org; Lu, Kechen <kechen.lu at intel.com>
> Subject: [RFC PATCH intel-gvt-linux] drm/i915/gvt: intel_vgpu_set_irqs() can
> be static
> 
> 
> Fixes: d3a240c6d0af ("drm/i915/gvt: Deliver vGPU flip event to userspace")
> Signed-off-by: kbuild test robot <lkp at intel.com>
> ---
>  kvmgt.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/kvmgt.c
> b/drivers/gpu/drm/i915/gvt/kvmgt.c
> index d1560f0d7a250d..6e9774f0cd7fc3 100644
> --- a/drivers/gpu/drm/i915/gvt/kvmgt.c
> +++ b/drivers/gpu/drm/i915/gvt/kvmgt.c
> @@ -1326,7 +1326,7 @@ static int
> intel_vgpu_set_display_event_trigger(struct intel_vgpu *vgpu,
>  	return 0;
>  }
> 
> -int intel_vgpu_set_irqs(struct intel_vgpu *vgpu, u32 flags,
> +static int intel_vgpu_set_irqs(struct intel_vgpu *vgpu, u32 flags,
>  		unsigned int index, unsigned int start, unsigned int count,
>  		void *data)
>  {


More information about the intel-gvt-dev mailing list