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

kbuild test robot lkp at intel.com
Thu Apr 16 05:16:27 UTC 2020


Fixes: 8dae6a8b97ea ("drm/i915/gvt: Notify user space with the dmabuf flip event")
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 4ccc39e82d3fe..e2a0caac7844f 100644
--- a/drivers/gpu/drm/i915/gvt/kvmgt.c
+++ b/drivers/gpu/drm/i915/gvt/kvmgt.c
@@ -1331,7 +1331,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