[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Fix build with WERROR=y
Ville Syrjälä
ville.syrjala at linux.intel.com
Mon Mar 13 11:08:35 UTC 2023
On Mon, Mar 13, 2023 at 11:02:17AM -0000, Patchwork wrote:
> == Series Details ==
>
> Series: drm/i915: Fix build with WERROR=y
> URL : https://patchwork.freedesktop.org/series/115046/
> State : failure
>
> == Summary ==
>
> Error: make failed
> CALL scripts/checksyscalls.sh
> DESCEND objtool
> INSTALL libsubcmd_headers
> CC [M] drivers/gpu/drm/i915/gt/intel_workarounds.o
> In file included from drivers/gpu/drm/i915/gt/intel_workarounds.c:6:
> drivers/gpu/drm/i915/gt/intel_workarounds.c: In function ‘dg1_gt_workarounds_init’:
> drivers/gpu/drm/i915/gt/intel_workarounds.c:1482:13: error: ‘i915’ undeclared (first use in this function); did you mean ‘to_i915’?
Huh. I guess CI keeps on trying to build against the last succesfully
built drm-tip tag? But there is no hint here about that...
Ewelina, this seems to be another place where CI needs improvements:
- report the baseline against which the patch was applied
- report drm-tip build failures
> 1482 | if (IS_DG1(i915))
> | ^~~~
> ./drivers/gpu/drm/i915/i915_drv.h:559:45: note: in definition of macro ‘IS_DG1’
> 559 | #define IS_DG1(dev_priv) IS_PLATFORM(dev_priv, INTEL_DG1)
> | ^~~~~~~~
> drivers/gpu/drm/i915/gt/intel_workarounds.c:1482:13: note: each undeclared identifier is reported only once for each function it appears in
> 1482 | if (IS_DG1(i915))
> | ^~~~
> ./drivers/gpu/drm/i915/i915_drv.h:559:45: note: in definition of macro ‘IS_DG1’
> 559 | #define IS_DG1(dev_priv) IS_PLATFORM(dev_priv, INTEL_DG1)
> | ^~~~~~~~
> make[5]: *** [scripts/Makefile.build:252: drivers/gpu/drm/i915/gt/intel_workarounds.o] Error 1
> make[4]: *** [scripts/Makefile.build:494: drivers/gpu/drm/i915] Error 2
> make[3]: *** [scripts/Makefile.build:494: drivers/gpu/drm] Error 2
> make[2]: *** [scripts/Makefile.build:494: drivers/gpu] Error 2
> make[1]: *** [scripts/Makefile.build:494: drivers] Error 2
> make: *** [Makefile:2028: .] Error 2
>
--
Ville Syrjälä
Intel
More information about the Intel-gfx
mailing list