[Intel-gfx] ✗ Fi.CI.BUILD: failure for managed drm_device, absolute final leftover bits (rev2)

Patchwork patchwork at emeril.freedesktop.org
Fri Sep 18 20:15:03 UTC 2020


== Series Details ==

Series: managed drm_device, absolute final leftover bits (rev2)
URL   : https://patchwork.freedesktop.org/series/81851/
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/i915_gem.o
In file included from ./include/linux/printk.h:7:0,
                 from ./include/linux/kernel.h:15,
                 from ./include/asm-generic/bug.h:20,
                 from ./arch/x86/include/asm/bug.h:93,
                 from ./include/linux/bug.h:5,
                 from ./include/drm/drm_mm.h:40,
                 from ./include/drm/drm_vma_manager.h:26,
                 from drivers/gpu/drm/i915/i915_gem.c:28:
drivers/gpu/drm/i915/selftests/mock_gem_device.c: In function ‘mock_gem_device’:
./include/linux/kern_levels.h:5:18: error: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Werror=format=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
 #define KERN_ERR KERN_SOH "3" /* error conditions */
                  ^~~~~~~~
./include/linux/printk.h:339:9: note: in expansion of macro ‘KERN_ERR’
  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         ^~~~~~~~
drivers/gpu/drm/i915/selftests/mock_gem_device.c:147:3: note: in expansion of macro ‘pr_err’
   pr_err("Failed to allocate mock GEM device: err=%d\n", PTR_ERR(i915));
   ^~~~~~
In file included from drivers/gpu/drm/i915/i915_gem.c:1397:0:
drivers/gpu/drm/i915/selftests/mock_gem_device.c:147:52: note: format string is defined here
   pr_err("Failed to allocate mock GEM device: err=%d\n", PTR_ERR(i915));
                                                   ~^
                                                   %ld
drivers/gpu/drm/i915/selftests/mock_gem_device.c:124:6: error: unused variable ‘err’ [-Werror=unused-variable]
  int err;
      ^~~
cc1: all warnings being treated as errors
scripts/Makefile.build:283: recipe for target 'drivers/gpu/drm/i915/i915_gem.o' failed
make[4]: *** [drivers/gpu/drm/i915/i915_gem.o] Error 1
scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:500: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1784: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list