On Thu, Mar 10, 2022 at 06:20:16PM +0530, Naresh Kamboju wrote: > stable-rc queue/4.19 x86 and i386 gcc-11 builds failed due to following > multiple warnings and errors. > > metadata: > git_describe: v4.19.233-22-g83c76d59eabe > git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc-queues > git_sha: 83c76d59eabe7545b86485336a9aeb0f652666be > git_short_log: 83c76d59eabe (\ARM: fix build warning in proc-v7-bugs.c\) > target_arch: x86_64 > toolchain: gcc-11 > > > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/2/build ARCH=x86_64 > CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' > 'HOSTCC=sccache gcc' > arch/x86/entry/entry_64.S: Assembler messages: > arch/x86/entry/entry_64.S:1738: Warning: no instruction mnemonic > suffix given and no register operands; using default for `sysret' > arch/x86/kernel/cpu/bugs.c: In function 'spectre_v2_select_mitigation': > arch/x86/kernel/cpu/bugs.c:973:41: error: implicit declaration of > function 'unprivileged_ebpf_enabled' > [-Werror=implicit-function-declaration] > 973 | if (mode == SPECTRE_V2_EIBRS && unprivileged_ebpf_enabled()) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > > > drivers/crypto/ccp/sp-platform.c:37:34: warning: array 'sp_of_match' > assumed to have one element > 37 | static const struct of_device_id sp_of_match[]; > | ^~~~~~~~~~~ > drivers/gpu/drm/i915/intel_dp.c: In function 'intel_dp_check_mst_status': > drivers/gpu/drm/i915/intel_dp.c:4129:30: warning: > 'drm_dp_channel_eq_ok' reading 6 bytes from a region of size 4 > [-Wstringop-overread] > 4129 | !drm_dp_channel_eq_ok(&esi[10], > intel_dp->lane_count)) { > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/gpu/drm/i915/intel_dp.c:4129:30: note: referencing argument 1 > of type 'const u8 *' {aka 'const unsigned char *'} > In file included from drivers/gpu/drm/i915/intel_dp.c:39: > include/drm/drm_dp_helper.h:954:6: note: in a call to function > 'drm_dp_channel_eq_ok' > 954 | bool drm_dp_channel_eq_ok(const u8 link_status[DP_LINK_STATUS_SIZE], > | ^~~~~~~~~~~~~~~~~~~~ > make[1]: Target '_all' not remade because of errors. > > > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx> > > build link [1] & [2] > Should now be fixed, thanks. greg k-h