[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/2] i915/gvt: Introduce the mmio_info_table.c to support VFIO new mdev API (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 25 09:11:48 UTC 2021


== Series Details ==

Series: series starting with [1/2] i915/gvt: Introduce the mmio_info_table.c to support VFIO new mdev API (rev2)
URL   : https://patchwork.freedesktop.org/series/97110/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  LD [M]  drivers/gpu/drm/i915/i915.o
  HDRTEST drivers/gpu/drm/i915/gvt/mmio_info_table.h
In file included from <command-line>:
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:28:48: error: ‘struct intel_gvt’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt);
                                                ^~~~~~~~~
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:29:1: error: unknown type name ‘bool’; did you mean ‘_Bool’?
 bool intel_gvt_match_device(struct intel_gvt *gvt, unsigned long device);
 ^~~~
 _Bool
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:29:36: error: ‘struct intel_gvt’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 bool intel_gvt_match_device(struct intel_gvt *gvt, unsigned long device);
                                    ^~~~~~~~~
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:31:40: error: unknown type name ‘u32’
  int (*handler)(struct intel_gvt *gvt, u32 offset, void *data),
                                        ^~~
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:32:2: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
  void *data);
  ^~~~
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:33:61: error: ‘struct intel_gvt’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 struct intel_gvt_mmio_info *intel_gvt_find_mmio_info(struct intel_gvt *gvt,
                                                             ^~~~~~~~~
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:35:38: error: ‘struct intel_gvt’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 int intel_gvt_setup_mmio_info(struct intel_gvt *gvt);
                                      ^~~~~~~~~
./drivers/gpu/drm/i915/gvt/mmio_info_table.h:36:39: error: ‘struct intel_gvt’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 void intel_gvt_clean_mmio_info(struct intel_gvt *gvt);
                                       ^~~~~~~~~
cc1: all warnings being treated as errors
drivers/gpu/drm/i915/Makefile:340: recipe for target 'drivers/gpu/drm/i915/gvt/mmio_info_table.hdrtest' failed
make[4]: *** [drivers/gpu/drm/i915/gvt/mmio_info_table.hdrtest] Error 1
scripts/Makefile.build:549: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:549: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:549: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1846: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list