== Series Details == Series: drm/i915: clean up i915_utils.h URL : https://patchwork.freedesktop.org/series/154194/ State : failure
== Summary == Error: make failed CALL scripts/checksyscalls.sh DESCEND objtool INSTALL libsubcmd_headers CC [M] drivers/gpu/drm/i915/i915_driver.o In file included from ./drivers/gpu/drm/i915/gt/intel_engine_types.h:20, from ./drivers/gpu/drm/i915/gt/intel_context_types.h:17, from drivers/gpu/drm/i915/gem/i915_gem_context_types.h:19, from drivers/gpu/drm/i915/gem/i915_gem_context.h:9, from drivers/gpu/drm/i915/i915_driver.c:70: ./drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h: In function ‘engine_class_to_guc_class’: ./drivers/gpu/drm/i915/i915_gem.h:123:37: error: implicit declaration of function ‘__add_taint_for_CI’ [-Werror=implicit-function-declaration] 123 | do { ftrace_dump(DUMP_ALL); __add_taint_for_CI(TAINT_WARN); } while (0) | ^~~~~~~~~~~~~~~~~~ ./drivers/gpu/drm/i915/i915_gem.h:98:17: note: in expansion of macro ‘GEM_TRACE_DUMP’ 98 | GEM_TRACE_DUMP(); \ | ^~~~~~~~~~~~~~ ./drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h:186:9: note: in expansion of macro ‘GEM_BUG_ON’ 186 | GEM_BUG_ON(class > MAX_ENGINE_CLASS); | ^~~~~~~~~~ In file included from ./drivers/gpu/drm/i915/i915_drv.h:56, from ./drivers/gpu/drm/i915/gt/intel_context.h:14, from drivers/gpu/drm/i915/gem/i915_gem_context.h:11: ./drivers/gpu/drm/i915/i915_utils.h: At top level: ./drivers/gpu/drm/i915/i915_utils.h:141:20: error: conflicting types for ‘__add_taint_for_CI’; have ‘void(unsigned int)’ [-Werror] 141 | static inline void __add_taint_for_CI(unsigned int taint) | ^~~~~~~~~~~~~~~~~~ ./drivers/gpu/drm/i915/i915_utils.h:141:20: error: static declaration of ‘__add_taint_for_CI’ follows non-static declaration ./drivers/gpu/drm/i915/i915_gem.h:123:37: note: previous implicit declaration of ‘__add_taint_for_CI’ with type ‘void(unsigned int)’ 123 | do { ftrace_dump(DUMP_ALL); __add_taint_for_CI(TAINT_WARN); } while (0) | ^~~~~~~~~~~~~~~~~~ ./drivers/gpu/drm/i915/i915_gem.h:98:17: note: in expansion of macro ‘GEM_TRACE_DUMP’ 98 | GEM_TRACE_DUMP(); \ | ^~~~~~~~~~~~~~ ./drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h:186:9: note: in expansion of macro ‘GEM_BUG_ON’ 186 | GEM_BUG_ON(class > MAX_ENGINE_CLASS); | ^~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:287: drivers/gpu/drm/i915/i915_driver.o] Error 1 make[5]: *** [scripts/Makefile.build:556: drivers/gpu/drm/i915] Error 2 make[4]: *** [scripts/Makefile.build:556: drivers/gpu/drm] Error 2 make[3]: *** [scripts/Makefile.build:556: drivers/gpu] Error 2 make[2]: *** [scripts/Makefile.build:556: drivers] Error 2 make[1]: *** [/home/kbuild2/kernel/Makefile:2011: .] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Build failed, no error log produced