Subject: next/master build: 210 builds: 63 failed, 147 passed, 3073 errors, 1016 warnings (v5.16-rc5-6644-gbcd5ddb85fad)

From: "kernelci.org bot" <[email-masked]>
Date: Mon, 13 Dec 2021 22:10:49 -0800 (PST)

next/master build: 210 builds: 63 failed, 147 passed, 3073 errors, 1016 warnings (v5.16-rc5-6644-gbcd5ddb85fad)

Full Build Summary: https://kernelci.org/build/next/branch/master/kernel/v5.16-rc5-6644-gbcd5ddb85fad/

Tree: next
Branch: master
Git Describe: v5.16-rc5-6644-gbcd5ddb85fad
Git Commit: bcd5ddb85fad453da26afd5b3fca8ad931b5253d
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Built: 7 unique architectures

Build Failures Detected:

arm64:
    allmodconfig: (clang-13) FAIL

arm:
    allmodconfig: (gcc-10) FAIL
    qcom_defconfig: (gcc-10) FAIL
    rpc_defconfig: (gcc-10) FAIL

i386:
    allmodconfig: (clang-13) FAIL

mips:
    32r2el_defconfig: (gcc-10) FAIL
    32r2el_defconfig+debug: (gcc-10) FAIL
    32r2el_defconfig+kselftest: (gcc-10) FAIL
    allnoconfig: (gcc-10) FAIL
    ar7_defconfig: (gcc-10) FAIL
    ath25_defconfig: (gcc-10) FAIL
    ath79_defconfig: (gcc-10) FAIL
    bcm47xx_defconfig: (gcc-10) FAIL
    bigsur_defconfig: (gcc-10) FAIL
    bmips_be_defconfig: (gcc-10) FAIL
    bmips_stb_defconfig: (gcc-10) FAIL
    cavium_octeon_defconfig: (gcc-10) FAIL
    ci20_defconfig: (gcc-10) FAIL
    cobalt_defconfig: (gcc-10) FAIL
    cu1000-neo_defconfig: (gcc-10) FAIL
    cu1830-neo_defconfig: (gcc-10) FAIL
    db1xxx_defconfig: (gcc-10) FAIL
    decstation_64_defconfig: (gcc-10) FAIL
    decstation_defconfig: (gcc-10) FAIL
    decstation_r4k_defconfig: (gcc-10) FAIL
    e55_defconfig: (gcc-10) FAIL
    fuloong2e_defconfig: (gcc-10) FAIL
    gcw0_defconfig: (gcc-10) FAIL
    gpr_defconfig: (gcc-10) FAIL
    ip22_defconfig: (gcc-10) FAIL
    ip27_defconfig: (gcc-10) FAIL
    jazz_defconfig: (gcc-10) FAIL
    jmr3927_defconfig: (gcc-10) FAIL
    lemote2f_defconfig: (gcc-10) FAIL
    loongson1b_defconfig: (gcc-10) FAIL
    loongson1c_defconfig: (gcc-10) FAIL
    loongson2k_defconfig: (gcc-10) FAIL
    loongson3_defconfig: (gcc-10) FAIL
    malta_defconfig: (gcc-10) FAIL
    malta_kvm_defconfig: (gcc-10) FAIL
    malta_qemu_32r6_defconfig: (gcc-10) FAIL
    maltaaprp_defconfig: (gcc-10) FAIL
    maltasmvp_defconfig: (gcc-10) FAIL
    maltasmvp_eva_defconfig: (gcc-10) FAIL
    maltaup_defconfig: (gcc-10) FAIL
    maltaup_xpa_defconfig: (gcc-10) FAIL
    mpc30x_defconfig: (gcc-10) FAIL
    mtx1_defconfig: (gcc-10) FAIL
    omega2p_defconfig: (gcc-10) FAIL
    pic32mzda_defconfig: (gcc-10) FAIL
    qi_lb60_defconfig: (gcc-10) FAIL
    rb532_defconfig: (gcc-10) FAIL
    rbtx49xx_defconfig: (gcc-10) FAIL
    rm200_defconfig: (gcc-10) FAIL
    rs90_defconfig: (gcc-10) FAIL
    rt305x_defconfig: (gcc-10) FAIL
    sb1250_swarm_defconfig: (gcc-10) FAIL
    tb0219_defconfig: (gcc-10) FAIL
    tb0226_defconfig: (gcc-10) FAIL
    tb0287_defconfig: (gcc-10) FAIL
    vocore2_defconfig: (gcc-10) FAIL
    xway_defconfig: (gcc-10) FAIL

x86_64:
    allmodconfig: (gcc-10) FAIL

Errors and Warnings Detected:

arc:
    haps_hs_smp_defconfig+debug (gcc-10): 1 warning
    haps_hs_smp_defconfig+kselftest (gcc-10): 3 warnings
    tinyconfig (gcc-10): 1 warning

arm64:
    allmodconfig (clang-13): 1 error
    defconfig (clang-13): 2 warnings
    defconfig+CONFIG_ARM64_64K_PAGES=y (clang-13): 2 warnings

arm:
    allmodconfig (gcc-10): 1 error, 1 warning
    at91_dt_defconfig (gcc-10): 1 warning
    multi_v5_defconfig (clang-13): 2 warnings
    multi_v5_defconfig (gcc-10): 1 warning
    multi_v7_defconfig (clang-13): 12 warnings
    qcom_defconfig (gcc-10): 1 error
    rpc_defconfig (gcc-10): 2 errors

i386:
    allmodconfig (clang-13): 10 errors
    i386_defconfig (clang-13): 2 warnings

mips:
    32r2el_defconfig (gcc-10): 52 errors, 17 warnings
    32r2el_defconfig+debug (gcc-10): 52 errors, 17 warnings
    32r2el_defconfig+kselftest (gcc-10): 52 errors, 17 warnings
    allnoconfig (gcc-10): 86 errors, 38 warnings
    ar7_defconfig (gcc-10): 52 errors, 16 warnings
    ath25_defconfig (gcc-10): 52 errors, 16 warnings
    ath79_defconfig (gcc-10): 52 errors, 16 warnings
    bcm47xx_defconfig (gcc-10): 52 errors, 16 warnings
    bigsur_defconfig (gcc-10): 55 errors, 16 warnings
    bmips_be_defconfig (gcc-10): 52 errors, 16 warnings
    bmips_stb_defconfig (gcc-10): 100 errors, 53 warnings
    cavium_octeon_defconfig (gcc-10): 55 errors, 16 warnings
    ci20_defconfig (gcc-10): 52 errors, 17 warnings
    cobalt_defconfig (gcc-10): 52 errors, 16 warnings
    cu1000-neo_defconfig (gcc-10): 52 errors, 16 warnings
    cu1830-neo_defconfig (gcc-10): 52 errors, 16 warnings
    db1xxx_defconfig (gcc-10): 52 errors, 16 warnings
    decstation_64_defconfig (gcc-10): 55 errors, 16 warnings
    decstation_defconfig (gcc-10): 52 errors, 16 warnings
    decstation_r4k_defconfig (gcc-10): 52 errors, 16 warnings
    e55_defconfig (gcc-10): 52 errors, 16 warnings
    fuloong2e_defconfig (gcc-10): 55 errors, 16 warnings
    gcw0_defconfig (gcc-10): 90 errors, 43 warnings
    gpr_defconfig (gcc-10): 52 errors, 16 warnings
    ip22_defconfig (gcc-10): 52 errors, 16 warnings
    jazz_defconfig (gcc-10): 52 errors, 16 warnings
    jmr3927_defconfig (gcc-10): 52 errors, 16 warnings
    lemote2f_defconfig (gcc-10): 55 errors, 16 warnings
    loongson1b_defconfig (gcc-10): 52 errors, 16 warnings
    loongson1c_defconfig (gcc-10): 52 errors, 16 warnings
    loongson2k_defconfig (gcc-10): 55 errors, 16 warnings
    loongson3_defconfig (gcc-10): 55 errors, 16 warnings
    malta_defconfig (gcc-10): 52 errors, 16 warnings
    malta_kvm_defconfig (gcc-10): 52 errors, 16 warnings
    malta_qemu_32r6_defconfig (gcc-10): 52 errors, 16 warnings
    maltaaprp_defconfig (gcc-10): 52 errors, 16 warnings
    maltasmvp_defconfig (gcc-10): 52 errors, 16 warnings
    maltasmvp_eva_defconfig (gcc-10): 52 errors, 16 warnings
    maltaup_defconfig (gcc-10): 52 errors, 16 warnings
    maltaup_xpa_defconfig (gcc-10): 52 errors, 16 warnings
    mpc30x_defconfig (gcc-10): 52 errors, 16 warnings
    mtx1_defconfig (gcc-10): 52 errors, 16 warnings
    omega2p_defconfig (gcc-10): 52 errors, 16 warnings
    pic32mzda_defconfig (gcc-10): 52 errors, 16 warnings
    qi_lb60_defconfig (gcc-10): 52 errors, 16 warnings
    rb532_defconfig (gcc-10): 52 errors, 16 warnings
    rbtx49xx_defconfig (gcc-10): 52 errors, 16 warnings
    rm200_defconfig (gcc-10): 52 errors, 16 warnings
    rs90_defconfig (gcc-10): 52 errors, 16 warnings
    rt305x_defconfig (gcc-10): 52 errors, 16 warnings
    sb1250_swarm_defconfig (gcc-10): 55 errors, 16 warnings
    tb0219_defconfig (gcc-10): 52 errors, 16 warnings
    tb0226_defconfig (gcc-10): 52 errors, 16 warnings
    tb0287_defconfig (gcc-10): 52 errors, 16 warnings
    vocore2_defconfig (gcc-10): 52 errors, 16 warnings
    xway_defconfig (gcc-10): 52 errors, 16 warnings

riscv:

x86_64:
    allmodconfig (gcc-10): 2 errors
    x86_64_defconfig (clang-13): 2 warnings

Errors summary:

    285  kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    60   kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    60   kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    60   kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    60   kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    60   kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    60   kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    60   kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    60   kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    60   arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    60   arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    57   kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    57   kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    57   kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    57   kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    57   kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    57   kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    57   kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    57   kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    57   kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    57   kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    57   kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    57   kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    57   kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    57   kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    57   kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    57   kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    57   kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    57   kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    57   kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    57   kernel/futex/core.c:1141:15: error: initializer element is not constant
    57   kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    57   kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    57   kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    57   kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    57   kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    57   kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    57   kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    57   kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    57   kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    57   kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    57   kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    10   kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    8    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    8    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    8    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    5    kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input
    3    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    3    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    3    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    3    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    3    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    3    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    3    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    3    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_set_robust_list’; did you mean ‘__se_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    3    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_get_robust_list’; did you mean ‘__do_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    3    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    3    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_waitv’; did you mean ‘__se_sys_futex_waitv’? [-Werror=implicit-function-declaration]
    3    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    3    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    3    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    3    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    3    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    3    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    3    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    3    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    2    net/wireless/reg.c:1137:23: error: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Werror,-Wenum-conversion]
    2    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    2    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_time32’; did you mean ‘__se_sys_futex_time32’? [-Werror=implicit-function-declaration]
    2    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_time32’ follows non-static declaration
    2    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    2    /usr/lib/gcc/x86_64-linux-gnu/10/plugin/include/config/i386/i386.h:2500:10: fatal error: common/config/i386/i386-cpuinfo.h: No such file or directory
    1    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__set_robust_list’ with no linkage
    1    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__get_robust_list’ with no linkage
    1    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__futex’ with no linkage
    1    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__futex_waitv’ with no linkage
    1    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__futex_time32’ with no linkage
    1    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__set_robust_list’ with no linkage
    1    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__get_robust_list’ with no linkage
    1    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__futex’ with no linkage
    1    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__futex_waitv’ with no linkage
    1    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__futex_time32’ with no linkage
    1    drivers/usb/gadget/udc/at91_udc.h:174:33: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘struct gpio_desc *’ [-Werror=format=]
    1    drivers/staging/greybus/audio_topology.c:977:12: error: stack frame size (1828) exceeds limit (1024) in function 'gbaudio_tplg_create_widget' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_rq_dlg_calc_30.c:981:13: error: stack frame size (1180) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:829:13: error: stack frame size (1084) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:3518:6: error: stack frame size (1244) exceeds limit (1024) in function 'dml21_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:1466:13: error: stack frame size (1212) exceeds limit (1024) in function 'DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:3393:6: error: stack frame size (1580) exceeds limit (1024) in function 'dml20v2_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:1145:13: error: stack frame size (1324) exceeds limit (1024) in function 'dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20.c:3286:6: error: stack frame size (1548) exceeds limit (1024) in function 'dml20_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20.c:1085:13: error: stack frame size (1356) exceeds limit (1024) in function 'dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    1    arch/arm/kernel/head.S:319: Error: missing expression -- `ldr r7,=0x'
    1    arch/arm/kernel/head.S:319: Error: missing expression -- `ldr r3,=0x'
    1    /tmp/kci/linux/build/../drivers/gpu/drm/panel/panel-edp.c:843: undefined reference to `drm_panel_dp_aux_backlight'

Warnings summary:

    60   cc1: some warnings being treated as errors
    60   arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    57   kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    57   kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    14   include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    14   include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    14   include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    10   clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    6    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    6    1 warning generated.
    5    include/linux/syscalls.h:179:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    5    include/linux/syscalls.h:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    3    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    3    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    3    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    3    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    3    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    3    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    3    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    3    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    3    arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
    3    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    2    kernel/futex/syscalls.c:357:16: warning: ‘alias’ attribute ignored [-Wattributes]
    2    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_time32’ defined but not used [-Wunused-function]
    2    include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘struct gpio_desc *’ [-Wformat=]
    1    cc1: all warnings being treated as errors
    1    arch/mips/boot/dts/ingenic/jz4780.dtsi:513.33-515.6: Warning (unit_address_format): /nemc@13410000/efuse@d0/eth-mac-addr@0x22: unit name should not have leading "0x"
    1    arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=]
    1    arch/arc/include/asm/perf_event.h:126:27: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=]

Section mismatches summary:

    1    WARNING: modpost: vmlinux.o(.text+0x712b3): Section mismatch in reference from the function __nodes_weight() to the variable .init.data:numa_nodes_parsed

================================================================================

Detailed per-defconfig build reports:

--------------------------------------------------------------------------------
32r2el_defconfig (mips, gcc-10) — FAIL, 52 errors, 17 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
32r2el_defconfig+debug (mips, gcc-10) — FAIL, 52 errors, 17 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
32r2el_defconfig+kselftest (mips, gcc-10) — FAIL, 52 errors, 17 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
allmodconfig (i386, clang-13) — FAIL, 10 errors, 0 warnings, 0 section mismatches

Errors:
    net/wireless/reg.c:1137:23: error: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Werror,-Wenum-conversion]
    drivers/staging/greybus/audio_topology.c:977:12: error: stack frame size (1828) exceeds limit (1024) in function 'gbaudio_tplg_create_widget' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:829:13: error: stack frame size (1084) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_rq_dlg_calc_30.c:981:13: error: stack frame size (1180) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20.c:1085:13: error: stack frame size (1356) exceeds limit (1024) in function 'dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:1145:13: error: stack frame size (1324) exceeds limit (1024) in function 'dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:1466:13: error: stack frame size (1212) exceeds limit (1024) in function 'DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20.c:3286:6: error: stack frame size (1548) exceeds limit (1024) in function 'dml20_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:3393:6: error: stack frame size (1580) exceeds limit (1024) in function 'dml20v2_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:3518:6: error: stack frame size (1244) exceeds limit (1024) in function 'dml21_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]

--------------------------------------------------------------------------------
allmodconfig (x86_64, gcc-10) — FAIL, 2 errors, 0 warnings, 0 section mismatches

Errors:
    /usr/lib/gcc/x86_64-linux-gnu/10/plugin/include/config/i386/i386.h:2500:10: fatal error: common/config/i386/i386-cpuinfo.h: No such file or directory
    /usr/lib/gcc/x86_64-linux-gnu/10/plugin/include/config/i386/i386.h:2500:10: fatal error: common/config/i386/i386-cpuinfo.h: No such file or directory

--------------------------------------------------------------------------------
allmodconfig (arm64, clang-13) — FAIL, 1 error, 0 warnings, 0 section mismatches

Errors:
    net/wireless/reg.c:1137:23: error: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Werror,-Wenum-conversion]

--------------------------------------------------------------------------------
allmodconfig (arm, gcc-10) — FAIL, 1 error, 1 warning, 0 section mismatches

Errors:
    drivers/usb/gadget/udc/at91_udc.h:174:33: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘struct gpio_desc *’ [-Werror=format=]

Warnings:
    cc1: all warnings being treated as errors

--------------------------------------------------------------------------------
allmodconfig (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (i386, clang-13) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (mips, gcc-10) — FAIL, 86 errors, 38 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_set_robust_list’; did you mean ‘__se_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_get_robust_list’; did you mean ‘__do_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_waitv’; did you mean ‘__se_sys_futex_waitv’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
allnoconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
aspeed_g4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
aspeed_g5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
    include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘struct gpio_desc *’ [-Wformat=]

--------------------------------------------------------------------------------
ath25_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
axs103_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
axs103_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
bmips_be_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
bmips_stb_defconfig (mips, gcc-10) — FAIL, 100 errors, 53 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__set_robust_list’ with no linkage
    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__set_robust_list’ with no linkage
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_set_robust_list’; did you mean ‘__se_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__get_robust_list’ with no linkage
    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__get_robust_list’ with no linkage
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_get_robust_list’; did you mean ‘__do_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__futex’ with no linkage
    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__futex’ with no linkage
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__futex_waitv’ with no linkage
    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__futex_waitv’ with no linkage
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_waitv’; did you mean ‘__se_sys_futex_waitv’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    include/linux/syscalls.h:155:33: error: redeclaration of ‘__syscall_meta__futex_time32’ with no linkage
    include/linux/syscalls.h:180:4: error: redeclaration of ‘__syscall_meta__futex_time32’ with no linkage
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_time32’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_time32’; did you mean ‘__se_sys_futex_time32’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:179:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:179:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:179:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:179:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:179:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:357:16: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_time32’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ci20_defconfig (mips, gcc-10) — FAIL, 52 errors, 17 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/boot/dts/ingenic/jz4780.dtsi:513.33-515.6: Warning (unit_address_format): /nemc@13410000/efuse@d0/eth-mac-addr@0x22: unit name should not have leading "0x"
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
cu1000-neo_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
cu1830-neo_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
decstation_64_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
decstation_r4k_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig (arm64, clang-13) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    1 warning generated.

--------------------------------------------------------------------------------
defconfig+CONFIG_ARM64_16K_PAGES=y (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+CONFIG_ARM64_64K_PAGES=y (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+CONFIG_ARM64_64K_PAGES=y (arm64, clang-13) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    1 warning generated.

--------------------------------------------------------------------------------
defconfig+CONFIG_CPU_BIG_ENDIAN=y (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+CONFIG_EFI=n (riscv, clang-13) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+CONFIG_RANDOMIZE_BASE=y (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+arm64-chromebook (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+arm64-chromebook+kselftest (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+crypto (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+debug (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+debug (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+ima (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+kselftest (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
defconfig+kselftest (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
gcw0_defconfig (mips, gcc-10) — FAIL, 90 errors, 43 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_set_robust_list’; did you mean ‘__se_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_get_robust_list’; did you mean ‘__do_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_waitv’; did you mean ‘__se_sys_futex_waitv’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_time32’ follows non-static declaration
    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex_time32’; did you mean ‘__se_sys_futex_time32’? [-Werror=implicit-function-declaration]
    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:357:16: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_time32’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
gemini_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
haps_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
haps_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
haps_hs_smp_defconfig+debug (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''

--------------------------------------------------------------------------------
haps_hs_smp_defconfig+kselftest (arc, gcc-10) — PASS, 0 errors, 3 warnings, 0 section mismatches

Warnings:
    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    arch/arc/include/asm/perf_event.h:126:27: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=]
    arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=]

--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
hsdk_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
i386_defconfig (i386, clang-13) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    1 warning generated.

--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
i386_defconfig+debug (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
i386_defconfig+kselftest (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
loongson1b_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
loongson1c_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
loongson2k_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
malta_qemu_32r6_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
maltaup_xpa_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
milbeaut_m10v_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
mps2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
multi_v4t_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v5_defconfig (arm, clang-13) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    1 warning generated.

--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
    include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘struct gpio_desc *’ [-Wformat=]

--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig (arm, clang-13) — PASS, 0 errors, 12 warnings, 0 section mismatches

Warnings:
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    1 warning generated.

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_EFI=y+CONFIG_ARM_LPAE=y (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_SMP=n (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+debug (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+kselftest (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nommu_k210_defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nommu_k210_sdcard_defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nsimosci_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nsimosci_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
omega2p_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
oxnas_v6_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pic32mzda_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-10) — FAIL, 1 error, 0 warnings, 0 section mismatches

Errors:
    /tmp/kci/linux/build/../drivers/gpu/drm/panel/panel-edp.c:843: undefined reference to `drm_panel_dp_aux_backlight'

--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-10) — FAIL, 2 errors, 0 warnings, 0 section mismatches

Errors:
    arch/arm/kernel/head.S:319: Error: missing expression -- `ldr r7,=0x'
    arch/arm/kernel/head.S:319: Error: missing expression -- `ldr r3,=0x'

--------------------------------------------------------------------------------
rs90_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
rv32_defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sama7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-10) — FAIL, 55 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tinyconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''

--------------------------------------------------------------------------------
tinyconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tinyconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vdk_hs38_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vdk_hs38_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vf610m4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vocore2_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, clang-13) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    1 warning generated.

Section mismatches:
    WARNING: modpost: vmlinux.o(.text+0x712b3): Section mismatch in reference from the function __nodes_weight() to the variable .init.data:numa_nodes_parsed

--------------------------------------------------------------------------------
x86_64_defconfig+amdgpu (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+crypto (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+debug (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+ima (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+kselftest (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook+kselftest (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+x86_kvm_guest (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
xway_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    kernel/futex/core.c:1141:15: error: initializer element is not constant
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input

Warnings:
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    cc1: some warnings being treated as errors

--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

---
For more info write to <[email-masked]>