== Series Details ==

Series: drm/i915: First cleanup pass to get rid of more crtc->config users. 
(rev4)
URL   : https://patchwork.freedesktop.org/series/50506/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/intel_display.o
In file included from ./include/linux/list.h:9:0,
                 from ./include/linux/dmi.h:5,
                 from drivers/gpu/drm/i915/intel_display.c:27:
drivers/gpu/drm/i915/intel_display.c: In function ‘intel_crtc_disable_noatomic’:
./include/linux/kernel.h:995:41: error: passing argument 1 of 
‘intel_disable_shared_dpll’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
 #define container_of(ptr, type, member) ({    \
                                         ^
drivers/gpu/drm/i915/intel_drv.h:1003:26: note: in expansion of macro 
‘container_of’
 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
                          ^~~~~~~~~~~~
drivers/gpu/drm/i915/intel_display.c:6298:28: note: in expansion of macro 
‘to_intel_crtc’
  intel_disable_shared_dpll(to_intel_crtc(crtc->state));
                            ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_drv.h:64:0,
                 from drivers/gpu/drm/i915/intel_drv.h:33,
                 from drivers/gpu/drm/i915/intel_display.c:36:
drivers/gpu/drm/i915/intel_dpll_mgr.h:339:6: note: expected ‘const struct 
intel_crtc_state *’ but argument is of type ‘struct intel_crtc *’
 void intel_disable_shared_dpll(const struct intel_crtc_state *crtc_state);
      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/export.h:45:0,
                 from ./include/linux/linkage.h:7,
                 from ./include/linux/kernel.h:7,
                 from ./include/linux/list.h:9,
                 from ./include/linux/dmi.h:5,
                 from drivers/gpu/drm/i915/intel_display.c:27:
In function ‘intel_crtc_disable_noatomic’,
    inlined from ‘intel_sanitize_crtc’ at 
drivers/gpu/drm/i915/intel_display.c:15594:3,
    inlined from ‘intel_modeset_setup_hw_state’ at 
drivers/gpu/drm/i915/intel_display.c:15963:3:
./include/linux/compiler.h:358:38: error: call to ‘__compiletime_assert_6298’ 
declared with attribute error: pointer type mismatch in container_of()
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
                                      ^
./include/linux/compiler.h:338:4: note: in definition of macro 
‘__compiletime_assert’
    prefix ## suffix();    \
    ^~~~~~
./include/linux/compiler.h:358:2: note: in expansion of macro 
‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:45:37: note: in expansion of macro 
‘compiletime_assert’
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:997:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
  ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_drv.h:1003:26: note: in expansion of macro 
‘container_of’
 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
                          ^~~~~~~~~~~~
drivers/gpu/drm/i915/intel_display.c:6298:28: note: in expansion of macro 
‘to_intel_crtc’
  intel_disable_shared_dpll(to_intel_crtc(crtc->state));
                            ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:305: recipe for target 
'drivers/gpu/drm/i915/intel_display.o' failed
make[4]: *** [drivers/gpu/drm/i915/intel_display.o] Error 1
scripts/Makefile.build:546: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:546: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:546: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1050: recipe for target 'drivers' failed
make: *** [drivers] Error 2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to