[Intel-gfx] ✗ Fi.CI.BUILD: warning for drm/i915/gem: Promote 'remain' to unsigned long

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 7 10:20:48 UTC 2020


== Series Details ==

Series: drm/i915/gem: Promote 'remain' to unsigned long
URL   : https://patchwork.freedesktop.org/series/75600/
State : warning

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o
In file included from ./include/linux/iova.h:13:0,
                 from ./include/linux/intel-iommu.h:14,
                 from drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:7:
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c: In function ‘eb_relocate_vma’:
./include/linux/kernel.h:835:29: error: comparison of distinct pointer types lacks a cast [-Werror]
   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
                             ^
./include/linux/kernel.h:849:4: note: in expansion of macro ‘__typecheck’
   (__typecheck(x, y) && __no_side_effects(x, y))
    ^~~~~~~~~~~
./include/linux/kernel.h:859:24: note: in expansion of macro ‘__safe_cmp’
  __builtin_choose_expr(__safe_cmp(x, y), \
                        ^~~~~~~~~~
./include/linux/kernel.h:868:19: note: in expansion of macro ‘__careful_cmp’
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1523:24: note: in expansion of macro ‘min’
   unsigned int count = min(remain, ARRAY_SIZE(stack));
                        ^~~
cc1: all warnings being treated as errors
scripts/Makefile.build:267: recipe for target 'drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o' failed
make[4]: *** [drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o] Error 1
scripts/Makefile.build:505: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:505: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:505: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1683: recipe for target 'drivers' failed
make: *** [drivers] Error 2

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17231/build_32bit.log


More information about the Intel-gfx mailing list