[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/selftests: Bump the scheduling threshold for fast heartbeats (rev2)

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 13 14:23:09 UTC 2021


== Series Details ==

Series: drm/i915/selftests: Bump the scheduling threshold for fast heartbeats (rev2)
URL   : https://patchwork.freedesktop.org/series/85804/
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/gt/intel_engine_heartbeat.o
In file included from ./include/linux/kernel.h:14,
                 from ./include/asm-generic/bug.h:20,
                 from ./arch/x86/include/asm/bug.h:93,
                 from ./include/linux/bug.h:5,
                 from ./include/linux/mmdebug.h:5,
                 from ./include/linux/gfp.h:5,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/io-mapping.h:10,
                 from ./drivers/gpu/drm/i915/i915_drv.h:38,
                 from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:7:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c: In function ‘__live_heartbeat_fast’:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:200:41: error: implicit declaration of function ‘jffies_to_usecs’; did you mean ‘jiffies_to_usecs’? [-Werror=implicit-function-declaration]
  const int error_threshold = max(20000, jffies_to_usecs(6));
                                         ^~~~~~~~~~~~~~~
./include/linux/minmax.h:18:39: note: in definition of macro ‘__typecheck’
  (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
                                       ^
./include/linux/minmax.h:42:24: note: in expansion of macro ‘__safe_cmp’
  __builtin_choose_expr(__safe_cmp(x, y), \
                        ^~~~~~~~~~
./include/linux/minmax.h:58:19: note: in expansion of macro ‘__careful_cmp’
 #define max(x, y) __careful_cmp(x, y, >)
                   ^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:200:30: note: in expansion of macro ‘max’
  const int error_threshold = max(20000, jffies_to_usecs(6));
                              ^~~
cc1: all warnings being treated as errors
scripts/Makefile.build:279: recipe for target 'drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o' failed
make[4]: *** [drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o] Error 1
scripts/Makefile.build:496: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:496: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:496: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1805: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list