[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/2] drm/i915/gvt: Fix missing static

Lucas De Marchi lucas.demarchi at intel.com
Thu Apr 28 21:08:29 UTC 2022


On Thu, Apr 28, 2022 at 08:55:48PM +0000, Patchwork wrote:
>== Series Details ==
>
>Series: series starting with [1/2] drm/i915/gvt: Fix missing static
>URL   : https://patchwork.freedesktop.org/series/103293/
>State : failure
>
>== Summary ==
>
>Error: make failed
>  CALL    scripts/checksyscalls.sh
>  CALL    scripts/atomic/check-atomics.sh
>  DESCEND objtool
>  CHK     include/generated/compile.h
>  CC [M]  drivers/gpu/drm/i915/gvt/handlers.o
>drivers/gpu/drm/i915/gvt/handlers.c:75:13: error: static declaration of ‘intel_gvt_match_device’ follows non-static declaration
> static bool intel_gvt_match_device(struct intel_gvt *gvt,
>             ^~~~~~~~~~~~~~~~~~~~~~
>In file included from drivers/gpu/drm/i915/gvt/gvt.h:42,
>                 from drivers/gpu/drm/i915/gvt/handlers.c:41:
>drivers/gpu/drm/i915/gvt/mmio.h:75:6: note: previous declaration of ‘intel_gvt_match_device’ was here
> bool intel_gvt_match_device(struct intel_gvt *gvt, unsigned long device);
>      ^~~~~~~~~~~~~~~~~~~~~~

it looks like CI tried to apply this to the wrong rev. It's probably
trying to apply it to the last one that it knows is buildable... which
means it never validates if something fixes the build?

I think it would be better to try applying to the latest drm-tip, and
fallback to latest known-buildable iff it fails.

Lucas De Marchi

>scripts/Makefile.build:288: recipe for target 'drivers/gpu/drm/i915/gvt/handlers.o' failed
>make[4]: *** [drivers/gpu/drm/i915/gvt/handlers.o] Error 1
>scripts/Makefile.build:550: recipe for target 'drivers/gpu/drm/i915' failed
>make[3]: *** [drivers/gpu/drm/i915] Error 2
>scripts/Makefile.build:550: recipe for target 'drivers/gpu/drm' failed
>make[2]: *** [drivers/gpu/drm] Error 2
>scripts/Makefile.build:550: recipe for target 'drivers/gpu' failed
>make[1]: *** [drivers/gpu] Error 2
>Makefile:1834: recipe for target 'drivers' failed
>make: *** [drivers] Error 2
>
>


More information about the Intel-gfx mailing list