[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Change KVMGT into self loadable module

Patchwork patchwork at emeril.freedesktop.org
Mon Dec 3 04:14:47 UTC 2018


== Series Details ==

Series: Change KVMGT into self loadable module
URL   : https://patchwork.freedesktop.org/series/53379/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
c0de8b6d6a23 drm/i915/gvt: mandatory require hypervisor's host_init
98c49ae62049 drm/i915/gvt: remove unused parameter for hypervisor's host_exit call
0cf5b56dab69 drm/i915/gvt: Change KVMGT as self load module
-:261: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#261: FILE: drivers/gpu/drm/i915/gvt/kvmgt.c:632:
+	/* Take a module reference as mdev core doesn't take
+	   a reference for vendor driver */

-:261: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#261: FILE: drivers/gpu/drm/i915/gvt/kvmgt.c:632:
+	   a reference for vendor driver */

-:327: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#327: FILE: drivers/gpu/drm/i915/gvt/mpt.h:363:
+extern int intel_gvt_register_hypervisor(struct intel_gvt_mpt *);

-:328: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#328: FILE: drivers/gpu/drm/i915/gvt/mpt.h:364:
+extern void intel_gvt_unregister_hypervisor(void);

total: 0 errors, 2 warnings, 2 checks, 270 lines checked



More information about the Intel-gfx mailing list