Re: ✗ Fi.CI.BUILD: failure for drm/i915: Fix build with WERROR=y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@SCG SCSS CI - please take a look

-----Original Message-----
From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> 
Sent: poniedziałek, 13 marca 2023 12:09
To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
Cc: Musial, Ewelina <ewelina.musial@xxxxxxxxx>
Subject: Re: ✗ Fi.CI.BUILD: failure for drm/i915: Fix build with WERROR=y

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux