CC crypto/md5.o CC arch/x86/kernel/kprobes/core.o CC block/blk-ioc.o CC block/blk-map.o CC arch/x86/kernel/cpu/perf_event_amd.o CC mm/page_io.o CC kernel/locking/semaphore.o CC crypto/sha1_generic.o CC fs/aufs/opts.o /WRL8/build_dir/bsp/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/block/blk-map.c: In function 'blk_rq_map_user_iov': /WRL8/build_dir/bsp/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/block/blk-map.c:72:21: warning: passing argument 1 of 'iter_is_iovec' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!iter_is_iovec(iter)) ^ In file included from /WRL8/build_dir/bsp/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/block/blk-map.c:8:0: /WRL8/build_dir/bsp/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/include/linux/uio.h:109:20: note: expected 'struct iov_iter *' but argument is of type 'const struct iov_iter *' static inline bool iter_is_iovec(struct iov_iter *i) ^ CC fs/aufs/wkq.o CC block/blk-exec.o CC arch/x86/kernel/cpu/perf_event_amd_uncore.o CC arch/x86/kernel/kprobes/ftrace.o
1) configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std 2) make linux-windriver 3) Check warning info in the kerneo do_compile log