[Intel-gfx] ✗ Fi.CI.BUILD: warning for drm/i915/buddy: document the unused header bits
Patchwork
patchwork at emeril.freedesktop.org
Fri Jan 22 19:57:48 UTC 2021
== Series Details ==
Series: drm/i915/buddy: document the unused header bits
URL : https://patchwork.freedesktop.org/series/86189/
State : warning
== Summary ==
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
CC [M] drivers/gpu/drm/i915/i915_buddy.o
In file included from ./include/linux/kernel.h:12,
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/kmemleak.h:12,
from drivers/gpu/drm/i915/i915_buddy.c:6:
drivers/gpu/drm/i915/selftests/i915_buddy.c: In function ‘igt_buddy_alloc_limit’:
./include/linux/log2.h:194:8: error: left shift count >= width of type [-Werror=shift-count-overflow]
(1UL << ilog2(n))) : \
^~
drivers/gpu/drm/i915/selftests/i915_buddy.c:761:43: note: in expansion of macro ‘rounddown_pow_of_two’
if (i915_buddy_block_size(&mm, block) != rounddown_pow_of_two(size)) {
^~~~~~~~~~~~~~~~~~~~
./include/linux/log2.h:194:8: error: left shift count >= width of type [-Werror=shift-count-overflow]
(1UL << ilog2(n))) : \
^~
./include/linux/printk.h:343:33: note: in expansion of macro ‘rounddown_pow_of_two’
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
drivers/gpu/drm/i915/selftests/i915_buddy.c:762:3: note: in expansion of macro ‘pr_err’
pr_err("block size(%llu) != %lu\n",
^~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:279: recipe for target 'drivers/gpu/drm/i915/i915_buddy.o' failed
make[4]: *** [drivers/gpu/drm/i915/i915_buddy.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
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19463/build_32bit.log
More information about the Intel-gfx
mailing list