Re: [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/hdcp: Pull HDCP auth/exchange/check into helpers

Jani Nikula
2021-09-17T12:49:26Z

On Wed, 15 Sep 2021, Patchwork <patchwork@emeril.freedesktop.org> wrote:
> == Series Details ==
>
> Series: drm/hdcp: Pull HDCP auth/exchange/check into helpers
> URL : https://patchwork.freedesktop.org/series/94712/
> 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/display/intel_hdcp.h
> In file included from <command-line>:
> ./drivers/gpu/drm/i915/display/intel_hdcp.h:30:15: error: ‘struct drm_atomic_state’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> struct drm_atomic_state *state);
> ^~~~~~~~~~~~~~~~

Please use CONFIG_DRM_I915_WERROR=y when developing i915, and fix the
fallout. In this case, you'll need to add a forward declaration for
struct drm_atomic_state. (Preferred over including headers from
headers.)

Thanks,
Jani.

> cc1: all warnings being treated as errors
> drivers/gpu/drm/i915/Makefile:324: recipe for target 'drivers/gpu/drm/i915/display/intel_hdcp.hdrtest' failed
> make[4]: *** [drivers/gpu/drm/i915/display/intel_hdcp.hdrtest] Error 1
> scripts/Makefile.build:540: recipe for target 'drivers/gpu/drm/i915' failed
> make[3]: *** [drivers/gpu/drm/i915] Error 2
> scripts/Makefile.build:540: recipe for target 'drivers/gpu/drm' failed
> make[2]: *** [drivers/gpu/drm] Error 2
> scripts/Makefile.build:540: recipe for target 'drivers/gpu' failed
> make[1]: *** [drivers/gpu] Error 2
> Makefile:1868: recipe for target 'drivers' failed
> make: *** [drivers] Error 2
>
>

--
Jani Nikula, Intel Open Source Graphics Center