[Intel-gfx] ✗ Fi.CI.BUILD: warning for drm/i915/selftests: Fixup naked 64b divide
Patchwork
patchwork at emeril.freedesktop.org
Sun Oct 13 09:56:29 UTC 2019
== Series Details ==
Series: drm/i915/selftests: Fixup naked 64b divide
URL : https://patchwork.freedesktop.org/series/67947/
State : warning
== Summary ==
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
AR drivers/gpu/drm/i915/built-in.a
CC [M] drivers/gpu/drm/i915/intel_memory_region.o
In file included from drivers/gpu/drm/i915/intel_memory_region.c:201:0:
drivers/gpu/drm/i915/selftests/intel_memory_region.c: In function ‘igt_mock_contiguous’:
drivers/gpu/drm/i915/selftests/intel_memory_region.c:167:31: error: passing argument 3 of ‘div64_u64_rem’ from incompatible pointer type [-Werror=incompatible-pointer-types]
div64_u64_rem(target, total, &target);
^
In file included from ./include/linux/time64.h:5:0,
from ./include/linux/restart_block.h:10,
from ./include/linux/thread_info.h:13,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:51,
from ./include/linux/kref.h:16,
from drivers/gpu/drm/i915/intel_memory_region.h:9,
from drivers/gpu/drm/i915/intel_memory_region.c:6:
./include/linux/math64.h:100:12: 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:265: 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:509: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:509: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:509: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1650: recipe for target 'drivers' failed
make: *** [drivers] Error 2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14780/build_32bit.log
More information about the Intel-gfx
mailing list