== Series Details == Series: Add CDCLK checks to atomic check phase URL : https://patchwork.freedesktop.org/series/101068/ State : failure == Summary == CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool CHK include/generated/compile.h CC [M] drivers/gpu/drm/i915/display/intel_cdclk.o drivers/gpu/drm/i915/display/intel_cdclk.c: In function ‘bxt_set_cdclk’: drivers/gpu/drm/i915/display/intel_cdclk.c:1719:14: error: assignment to ‘struct cdclk_steps *’ from incompatible pointer type ‘struct cdclk_step *’ [-Werror=incompatible-pointer-types] cdclk_steps = new_cdclk_state->steps; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:1743:22: error: invalid use of undefined type ‘struct cdclk_steps’ switch (cdclk_steps[i].action) { ^ drivers/gpu/drm/i915/display/intel_cdclk.c:1743:22: error: dereferencing pointer to incomplete type ‘struct cdclk_steps’ drivers/gpu/drm/i915/display/intel_cdclk.c:1767:59: error: invalid use of undefined type ‘struct cdclk_steps’ waveform = cdclk_squash_waveform(dev_priv, cdclk_steps[i].cdclk); ^ In file included from ./arch/x86/include/asm/bug.h:86, from ./include/linux/bug.h:5, from ./include/linux/cpumask.h:14, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:22, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from drivers/gpu/drm/i915/display/intel_cdclk.c:24: drivers/gpu/drm/i915/display/intel_cdclk.c:1776:28: error: invalid use of undefined type ‘struct cdclk_steps’ MISSING_CASE(cdclk_steps[i].action); ^ ./include/asm-generic/bug.h:99:17: note: in definition of macro ‘__WARN_printf’ __warn_printk(arg); \ ^~~ ./drivers/gpu/drm/i915/i915_utils.h:41:25: note: in expansion of macro ‘WARN’ #define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \ ^~~~ drivers/gpu/drm/i915/display/intel_cdclk.c:1776:4: note: in expansion of macro ‘MISSING_CASE’ MISSING_CASE(cdclk_steps[i].action); ^~~~~~~~~~~~ drivers/gpu/drm/i915/display/intel_cdclk.c: In function ‘intel_cdclk_can_crawl’: drivers/gpu/drm/i915/display/intel_cdclk.c:1973:41: error: initialization of ‘struct cdclk_steps *’ from incompatible pointer type ‘struct cdclk_step *’ [-Werror=incompatible-pointer-types] struct cdclk_steps *cdclk_transition = b->steps; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:1985:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[0].action = INTEL_CDCLK_CRAWL; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:1985:18: error: dereferencing pointer to incomplete type ‘struct cdclk_steps’ drivers/gpu/drm/i915/display/intel_cdclk.c:1986:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[0].cdclk = b->actual.cdclk; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:1987:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[1].action = INTEL_CDCLK_NOOP; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:1988:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[1].cdclk = b->actual.cdclk; ^ drivers/gpu/drm/i915/display/intel_cdclk.c: In function ‘intel_cdclk_squash’: drivers/gpu/drm/i915/display/intel_cdclk.c:2001:41: error: initialization of ‘struct cdclk_steps *’ from incompatible pointer type ‘struct cdclk_step *’ [-Werror=incompatible-pointer-types] struct cdclk_steps *cdclk_transition = b->steps; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2011:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[0].action = INTEL_CDCLK_SQUASH; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2011:18: error: dereferencing pointer to incomplete type ‘struct cdclk_steps’ drivers/gpu/drm/i915/display/intel_cdclk.c:2012:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[0].cdclk = b->actual.cdclk; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2013:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[1].action = INTEL_CDCLK_NOOP; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2014:18: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[1].cdclk = b->actual.cdclk; ^ drivers/gpu/drm/i915/display/intel_cdclk.c: In function ‘intel_cdclk_needs_modeset’: drivers/gpu/drm/i915/display/intel_cdclk.c:2042:19: error: assignment to ‘struct cdclk_steps *’ from incompatible pointer type ‘struct cdclk_step *’ [-Werror=incompatible-pointer-types] cdclk_transition = new_cdclk_state->steps; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2047:19: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[0].action = INTEL_CDCLK_MODESET; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2047:19: error: dereferencing pointer to incomplete type ‘struct cdclk_steps’ drivers/gpu/drm/i915/display/intel_cdclk.c:2048:19: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[0].cdclk = b->cdclk; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2049:19: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[1].action = INTEL_CDCLK_NOOP; ^ drivers/gpu/drm/i915/display/intel_cdclk.c:2050:19: error: invalid use of undefined type ‘struct cdclk_steps’ cdclk_transition[1].cdclk = b->cdclk; ^ cc1: all warnings being treated as errors scripts/Makefile.build:288: recipe for target 'drivers/gpu/drm/i915/display/intel_cdclk.o' failed make[4]: *** [drivers/gpu/drm/i915/display/intel_cdclk.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:1831: recipe for target 'drivers' failed make: *** [drivers] Error 2