✗ Fi.CI.BUILD: failure for drm/i915/gem: Check function return in live_nop_switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915/gem: Check function return in live_nop_switch
URL   : https://patchwork.freedesktop.org/series/95584/
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/gem/i915_gem_context.o
In file included from drivers/gpu/drm/i915/gem/i915_gem_context.c:2283:
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c: In function ‘live_nop_switch’:
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:88:26: error: implicit declaration of function ‘to_gt’; did you mean ‘uc_to_gt’? [-Werror=implicit-function-declaration]
      intel_gt_set_wedged(to_gt(i915));
                          ^~~~~
                          uc_to_gt
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:88:26: error: passing argument 1 of ‘intel_gt_set_wedged’ makes pointer from integer without a cast [-Werror=int-conversion]
      intel_gt_set_wedged(to_gt(i915));
                          ^~~~~~~~~~~
In file included from ./drivers/gpu/drm/i915/gt/intel_gtt.h:28,
                 from ./drivers/gpu/drm/i915/gt/gen6_ppgtt.h:9,
                 from drivers/gpu/drm/i915/gem/i915_gem_context.c:72:
./drivers/gpu/drm/i915/gt/intel_reset.h:44:43: note: expected ‘struct intel_gt *’ but argument is of type ‘int’
 void intel_gt_set_wedged(struct intel_gt *gt);
                          ~~~~~~~~~~~~~~~~~^~
cc1: all warnings being treated as errors
scripts/Makefile.build:277: 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: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





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux