✗ Fi.CI.BUILD: warning for series starting with [01/22] build-fix

Patchwork patchwork at emeril.freedesktop.org
Tue Jan 18 20:12:43 UTC 2022


== Series Details ==

Series: series starting with [01/22] build-fix
URL   : https://patchwork.freedesktop.org/series/99002/
State : warning

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/intel_memory_region.o
In file included from drivers/gpu/drm/i915/intel_memory_region.c:362:
drivers/gpu/drm/i915/selftests/intel_memory_region.c: In function ‘igt_mock_io_size’:
drivers/gpu/drm/i915/selftests/intel_memory_region.c:556:54: error: passing argument 3 of ‘div64_u64_rem’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  div64_u64_rem(i915_prandom_u64_state(&prng), SZ_8G, &total);
                                                      ^~~~~~
In file included from ./include/linux/time64.h:5,
                 from ./include/linux/restart_block.h:10,
                 from ./include/linux/thread_info.h:14,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/percpu.h:6,
                 from ./include/linux/prandom.h:12,
                 from drivers/gpu/drm/i915/intel_memory_region.c:6:
./include/linux/math64.h:102:58: note: expected ‘u64 *’ {aka ‘long long unsigned int *’} but argument is of type ‘resource_size_t *’ {aka ‘unsigned int *’}
 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
                                                     ~~~~~^~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_memory_region.c:362:
drivers/gpu/drm/i915/selftests/intel_memory_region.c:560:59: error: passing argument 3 of ‘div64_u64_rem’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  div64_u64_rem(i915_prandom_u64_state(&prng), total - ps, &io_size);
                                                           ^~~~~~~~
In file included from ./include/linux/time64.h:5,
                 from ./include/linux/restart_block.h:10,
                 from ./include/linux/thread_info.h:14,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/percpu.h:6,
                 from ./include/linux/prandom.h:12,
                 from drivers/gpu/drm/i915/intel_memory_region.c:6:
./include/linux/math64.h:102:58: note: expected ‘u64 *’ {aka ‘long long unsigned int *’} but argument is of type ‘resource_size_t *’ {aka ‘unsigned int *’}
 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
                                                     ~~~~~^~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_memory_region.c:362:
drivers/gpu/drm/i915/selftests/intel_memory_region.c:576:53: error: passing argument 3 of ‘div64_u64_rem’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   div64_u64_rem(i915_prandom_u64_state(&prng), rem, &size);
                                                     ^~~~~
In file included from ./include/linux/time64.h:5,
                 from ./include/linux/restart_block.h:10,
                 from ./include/linux/thread_info.h:14,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/percpu.h:6,
                 from ./include/linux/prandom.h:12,
                 from drivers/gpu/drm/i915/intel_memory_region.c:6:
./include/linux/math64.h:102:58: note: expected ‘u64 *’ {aka ‘long long unsigned int *’} but argument is of type ‘resource_size_t *’ {aka ‘unsigned int *’}
 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
                                                     ~~~~~^~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_memory_region.c:362:
drivers/gpu/drm/i915/selftests/intel_memory_region.c:615:53: error: passing argument 3 of ‘div64_u64_rem’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   div64_u64_rem(i915_prandom_u64_state(&prng), rem, &size);
                                                     ^~~~~
In file included from ./include/linux/time64.h:5,
                 from ./include/linux/restart_block.h:10,
                 from ./include/linux/thread_info.h:14,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/percpu.h:6,
                 from ./include/linux/prandom.h:12,
                 from drivers/gpu/drm/i915/intel_memory_region.c:6:
./include/linux/math64.h:102:58: note: expected ‘u64 *’ {aka ‘long long unsigned int *’} but argument is of type ‘resource_size_t *’ {aka ‘unsigned int *’}
 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
                                                     ~~~~~^~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:287: recipe for target 'drivers/gpu/drm/i915/intel_memory_region.o' failed
make[4]: *** [drivers/gpu/drm/i915/intel_memory_region.o] Error 1
scripts/Makefile.build:549: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:549: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:549: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1846: recipe for target 'drivers' failed
make: *** [drivers] Error 2

== Logs ==

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


More information about the Intel-gfx-trybot mailing list