[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Replace rcu_swap_protected() with rcu_replace_pointer()

Patchwork patchwork at emeril.freedesktop.org
Thu Oct 31 19:10:12 UTC 2019


== Series Details ==

Series: drm/i915: Replace rcu_swap_protected() with rcu_replace_pointer()
URL   : https://patchwork.freedesktop.org/series/68833/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  AR      drivers/gpu/drm/i915/built-in.a
  CC [M]  drivers/gpu/drm/i915/gem/i915_gem_context.o
drivers/gpu/drm/i915/gem/i915_gem_context.c: In function ‘set_engines’:
drivers/gpu/drm/i915/gem/i915_gem_context.c:1667:16: error: implicit declaration of function ‘rcu_replace_pointer’; did you mean ‘rb_replace_node’? [-Werror=implicit-function-declaration]
  set.engines = rcu_replace_pointer(ctx->engines, set.engines, 1);
                ^~~~~~~~~~~~~~~~~~~
                rb_replace_node
drivers/gpu/drm/i915/gem/i915_gem_context.c:1667:14: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
  set.engines = rcu_replace_pointer(ctx->engines, set.engines, 1);
              ^
cc1: all warnings being treated as errors
scripts/Makefile.build:265: recipe for target 'drivers/gpu/drm/i915/gem/i915_gem_context.o' failed
make[4]: *** [drivers/gpu/drm/i915/gem/i915_gem_context.o] Error 1
scripts/Makefile.build:509: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:509: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:509: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1649: recipe for target 'drivers' failed
make: *** [drivers] Error 2



More information about the Intel-gfx mailing list