next/master build: 207 builds: 62 failed, 145 passed, 3280 errors, 1136 warnings (v5.16-rc4-6579-gea922272cbe5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



next/master build: 207 builds: 62 failed, 145 passed, 3280 errors, 1136 warnings (v5.16-rc4-6579-gea922272cbe5)

Full Build Summary: https://kernelci.org/build/next/branch/master/kernel/v5.16-rc4-6579-gea922272cbe5/

Tree: next
Branch: master
Git Describe: v5.16-rc4-6579-gea922272cbe5
Git Commit: ea922272cbe547bdf58da2aaf240d59782c6a009
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Built: 7 unique architectures

Build Failures Detected:

arm:
    allmodconfig: (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
    capcella_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
    ip28_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_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
    tb0287_defconfig: (gcc-10) FAIL
    vocore2_defconfig: (gcc-10) FAIL
    workpad_defconfig: (gcc-10) FAIL
    xway_defconfig: (gcc-10) FAIL

x86_64:
    allmodconfig: (clang-13) FAIL

Errors and Warnings Detected:

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

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

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

i386:
    allmodconfig (clang-13): 6 errors
    i386_defconfig (clang-13): 2 warnings
    i386_defconfig+kselftest (gcc-10): 1 warning

mips:
    32r2el_defconfig (gcc-10): 52 errors, 17 warnings
    32r2el_defconfig+debug (gcc-10): 52 errors, 17 warnings
    32r2el_defconfig+kselftest (gcc-10): 148 errors, 59 warnings
    allnoconfig (gcc-10): 52 errors, 16 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): 52 errors, 16 warnings
    capcella_defconfig (gcc-10): 52 errors, 16 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): 90 errors, 43 warnings
    loongson2k_defconfig (gcc-10): 55 errors, 16 warnings
    loongson3_defconfig (gcc-10): 55 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): 90 errors, 43 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): 90 errors, 43 warnings
    rbtx49xx_defconfig (gcc-10): 52 errors, 16 warnings
    rm200_defconfig (gcc-10): 138 errors, 47 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
    tb0287_defconfig (gcc-10): 52 errors, 16 warnings
    vocore2_defconfig (gcc-10): 52 errors, 16 warnings
    workpad_defconfig (gcc-10): 52 errors, 16 warnings
    xway_defconfig (gcc-10): 52 errors, 16 warnings

riscv:

x86_64:
    allmodconfig (clang-13): 1 error, 16 warnings
    x86_64_defconfig (clang-13): 2 warnings

Errors summary:

    280  kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    64   kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    64   kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    64   kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    64   kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    64   kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    64   kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    64   kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    64   kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    64   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]
    64   arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    58   kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    58   kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    58   kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    58   kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    58   kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    58   kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    58   kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    58   kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    58   kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    58   kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    58   kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    58   kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    58   kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    56   kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    56   kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    56   kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    56   kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    56   kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    56   kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    56   kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    56   kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    56   kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    56   kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    56   kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    56   kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    56   kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    56   kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    56   kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    56   kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    56   kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    56   kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    56   kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    56   kernel/futex/core.c:1141:15: error: initializer element is not constant
    56   kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    56   kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    56   kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    56   kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    30   kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    10   kernel/futex/pi.c:1232: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’
    6    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    6    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    6    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    6    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    6    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    6    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    6    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    6    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    6    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]
    6    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]
    6    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    6    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]
    6    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]
    6    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    6    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    6    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    6    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    6    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_time32’ follows non-static declaration
    6    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    6    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    6    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    6    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    6    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    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    kernel/futex/pi.c:930:5: error: static declaration of ‘futex_lock_pi’ follows non-static declaration
    2    kernel/futex/pi.c:884:5: error: static declaration of ‘fixup_pi_owner’ follows non-static declaration
    2    kernel/futex/pi.c:855:12: error: invalid storage class for function ‘fixup_pi_state_owner’
    2    kernel/futex/pi.c:77:6: error: static declaration of ‘put_pi_state’ follows non-static declaration
    2    kernel/futex/pi.c:68:6: error: static declaration of ‘get_pi_state’ follows non-static declaration
    2    kernel/futex/pi.c:683:12: error: invalid storage class for function ‘__fixup_pi_state_owner’
    2    kernel/futex/pi.c:613:12: error: invalid storage class for function ‘wake_futex_pi’
    2    kernel/futex/pi.c:514:5: error: static declaration of ‘futex_lock_pi_atomic’ follows non-static declaration
    2    kernel/futex/pi.c:474:12: error: invalid storage class for function ‘lock_pi_update_atomic’
    2    kernel/futex/pi.c:45:13: error: invalid storage class for function ‘pi_state_update_owner’
    2    kernel/futex/pi.c:410:12: error: invalid storage class for function ‘attach_to_pi_owner’
    2    kernel/futex/pi.c:376:13: error: invalid storage class for function ‘__attach_to_pi_owner’
    2    kernel/futex/pi.c:35:31: error: invalid storage class for function ‘alloc_pi_state’
    2    kernel/futex/pi.c:320:12: error: invalid storage class for function ‘handle_exit_race’
    2    kernel/futex/pi.c:30:26: error: assignment to ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    2    kernel/futex/pi.c:202:12: error: invalid storage class for function ‘attach_to_pi_state’
    2    kernel/futex/pi.c:12:5: error: static declaration of ‘refill_pi_state_cache’ follows non-static declaration
    2    kernel/futex/pi.c:1100:5: error: static declaration of ‘futex_unlock_pi’ follows non-static declaration
    2    kernel/futex/pi.c:108:27: error: assignment to ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    2    include/asm-generic/current.h:7:23: error: initialization of ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    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/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/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    drivers/android/binder.c:2511:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    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'

Warnings summary:

    64   cc1: some warnings being treated as errors
    64   arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    56   kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    56   kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    56   kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    30   include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    30   include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    30   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]
    10   clang: warning: argument unused during compilation: '-march=armv6k' [-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    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    6    kernel/futex/syscalls.c:357:16: warning: ‘alias’ attribute ignored [-Wattributes]
    6    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    6    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    6    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    6    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    6    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    6    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    6    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    6    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_time32’ defined but not used [-Wunused-function]
    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    drivers/android/binder.c:2511:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    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"
    2    kernel/futex/pi.c:930:5: warning: ‘futex_lock_pi’ defined but not used [-Wunused-function]
    2    kernel/futex/pi.c:1100:5: warning: ‘futex_unlock_pi’ 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=]
    2    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    1    vmlinux.o: warning: objtool: vc_switch_off_ist()+0x8a: call to memcpy() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: sync_regs()+0x20: call to memcpy() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: mce_setup()+0xa4: call to cpuid_eax() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: in_task_stack()+0xc: call to task_stack_page() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: in_entry_stack()+0x10: call to cpu_entry_stack() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: fixup_bad_iret()+0x32: call to memset() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: do_syscall_64()+0x44: call to memset() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: do_machine_check()+0xce: call to mce_gather_info() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: do_int80_syscall_32()+0x52: call to memset() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: __sev_put_ghcb()+0x36: call to memcpy() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: __sev_get_ghcb()+0xa1: call to memcpy() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x5a: call to ghcb_set_sw_exit_code() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x52: call to memset() leaves .noinstr.text section
    1    fs/reiserfs/lbalance.o: warning: objtool: leaf_copy_items_entirely()+0x734: stack state mismatch: cfa1=4+200 cfa2=4+192
    1    drivers/scsi/mpi3mr/mpi3mr_fw.o: warning: objtool: mpi3mr_op_request_post() falls through to next function mpi3mr_process_op_reply_q()
    1    cc1: all warnings being treated as errors
    1    arch/x86/kernel/head64.o: warning: objtool: __startup_64() falls through to next function startup_64_setup_env()
    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"

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
    1    WARNING: modpost: vmlinux.o(.text+0x15e197): Section mismatch in reference from the function __next_node() to the variable .init.data:numa_nodes_parsed
    1    WARNING: modpost: vmlinux.o(.text+0x15e122): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
    1    WARNING: modpost: vmlinux.o(.text+0x15e10e): Section mismatch in reference from the function test_bit() 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, 148 errors, 59 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’
    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/pi.c:12:5: error: static declaration of ‘refill_pi_state_cache’ follows non-static declaration
    kernel/futex/pi.c:30:26: error: assignment to ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    kernel/futex/pi.c:35:31: error: invalid storage class for function ‘alloc_pi_state’
    include/asm-generic/current.h:7:23: error: initialization of ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    kernel/futex/pi.c:45:13: error: invalid storage class for function ‘pi_state_update_owner’
    kernel/futex/pi.c:68:6: error: static declaration of ‘get_pi_state’ follows non-static declaration
    kernel/futex/pi.c:77:6: error: static declaration of ‘put_pi_state’ follows non-static declaration
    kernel/futex/pi.c:108:27: error: assignment to ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    kernel/futex/pi.c:202:12: error: invalid storage class for function ‘attach_to_pi_state’
    kernel/futex/pi.c:320:12: error: invalid storage class for function ‘handle_exit_race’
    kernel/futex/pi.c:376:13: error: invalid storage class for function ‘__attach_to_pi_owner’
    kernel/futex/pi.c:410:12: error: invalid storage class for function ‘attach_to_pi_owner’
    kernel/futex/pi.c:474:12: error: invalid storage class for function ‘lock_pi_update_atomic’
    kernel/futex/pi.c:514:5: error: static declaration of ‘futex_lock_pi_atomic’ follows non-static declaration
    kernel/futex/pi.c:613:12: error: invalid storage class for function ‘wake_futex_pi’
    kernel/futex/pi.c:683:12: error: invalid storage class for function ‘__fixup_pi_state_owner’
    kernel/futex/pi.c:855:12: error: invalid storage class for function ‘fixup_pi_state_owner’
    kernel/futex/pi.c:884:5: error: static declaration of ‘fixup_pi_owner’ follows non-static declaration
    kernel/futex/pi.c:930:5: error: static declaration of ‘futex_lock_pi’ follows non-static declaration
    kernel/futex/pi.c:1100:5: error: static declaration of ‘futex_unlock_pi’ follows non-static declaration
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232: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/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
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/pi.c:1100:5: warning: ‘futex_unlock_pi’ defined but not used [-Wunused-function]
    kernel/futex/pi.c:930:5: warning: ‘futex_lock_pi’ 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
    drivers/android/binder.c:2511:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

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

Errors:
    drivers/android/binder.c:2511:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

Warnings:
    cc1: all warnings being treated as errors

--------------------------------------------------------------------------------
allmodconfig (x86_64, clang-13) — FAIL, 1 error, 16 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]

Warnings:
    arch/x86/kernel/head64.o: warning: objtool: __startup_64() falls through to next function startup_64_setup_env()
    vmlinux.o: warning: objtool: do_syscall_64()+0x44: call to memset() leaves .noinstr.text section
    vmlinux.o: warning: objtool: do_int80_syscall_32()+0x52: call to memset() leaves .noinstr.text section
    vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x52: call to memset() leaves .noinstr.text section
    vmlinux.o: warning: objtool: sync_regs()+0x20: call to memcpy() leaves .noinstr.text section
    vmlinux.o: warning: objtool: vc_switch_off_ist()+0x8a: call to memcpy() leaves .noinstr.text section
    vmlinux.o: warning: objtool: fixup_bad_iret()+0x32: call to memset() leaves .noinstr.text section
    vmlinux.o: warning: objtool: in_task_stack()+0xc: call to task_stack_page() leaves .noinstr.text section
    vmlinux.o: warning: objtool: in_entry_stack()+0x10: call to cpu_entry_stack() leaves .noinstr.text section
    vmlinux.o: warning: objtool: mce_setup()+0xa4: call to cpuid_eax() leaves .noinstr.text section
    vmlinux.o: warning: objtool: do_machine_check()+0xce: call to mce_gather_info() leaves .noinstr.text section
    vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x5a: call to ghcb_set_sw_exit_code() leaves .noinstr.text section
    vmlinux.o: warning: objtool: __sev_get_ghcb()+0xa1: call to memcpy() leaves .noinstr.text section
    vmlinux.o: warning: objtool: __sev_put_ghcb()+0x36: call to memcpy() leaves .noinstr.text section
    fs/reiserfs/lbalance.o: warning: objtool: leaf_copy_items_entirely()+0x734: stack state mismatch: cfa1=4+200 cfa2=4+192
    drivers/scsi/mpi3mr/mpi3mr_fw.o: warning: objtool: mpi3mr_op_request_post() falls through to next function mpi3mr_process_op_reply_q()

Section mismatches:
    WARNING: modpost: vmlinux.o(.text+0x15e10e): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
    WARNING: modpost: vmlinux.o(.text+0x15e122): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
    WARNING: modpost: vmlinux.o(.text+0x15e197): Section mismatch in reference from the function __next_node() to the variable .init.data:numa_nodes_parsed

--------------------------------------------------------------------------------
allmodconfig (i386, clang-13) — FAIL, 6 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/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_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: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/dcn20/display_mode_vba_20v2.c:3393:6: error: stack frame size (1580) exceeds limit (1024) in function 'dml20v2_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]

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

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

--------------------------------------------------------------------------------
allnoconfig (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

--------------------------------------------------------------------------------
allnoconfig (i386, 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 (x86_64, clang-13) — 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_g5_defconfig (arm, clang-13) — PASS, 0 errors, 10 warnings, 0 section mismatches

Warnings:
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]

--------------------------------------------------------------------------------
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, 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

--------------------------------------------------------------------------------
capcella_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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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 ''

--------------------------------------------------------------------------------
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, 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+debug (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

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

Warnings:
    drivers/android/binder.c:2511:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
ip28_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

--------------------------------------------------------------------------------
lart_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, 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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
lubbock_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_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, 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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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, 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_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_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_CPU_BIG_ENDIAN=y (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
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+debug (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

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

Warnings:
    drivers/android/binder.c:2511:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

--------------------------------------------------------------------------------
mvebu_v5_defconfig (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

--------------------------------------------------------------------------------
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

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

--------------------------------------------------------------------------------
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

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

--------------------------------------------------------------------------------
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, 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

--------------------------------------------------------------------------------
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, 138 errors, 47 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’
    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/pi.c:12:5: error: static declaration of ‘refill_pi_state_cache’ follows non-static declaration
    kernel/futex/pi.c:30:26: error: assignment to ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    kernel/futex/pi.c:35:31: error: invalid storage class for function ‘alloc_pi_state’
    include/asm-generic/current.h:7:23: error: initialization of ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    kernel/futex/pi.c:45:13: error: invalid storage class for function ‘pi_state_update_owner’
    kernel/futex/pi.c:68:6: error: static declaration of ‘get_pi_state’ follows non-static declaration
    kernel/futex/pi.c:77:6: error: static declaration of ‘put_pi_state’ follows non-static declaration
    kernel/futex/pi.c:108:27: error: assignment to ‘struct futex_pi_state *’ from incompatible pointer type ‘struct futex_pi_state *’ [-Werror=incompatible-pointer-types]
    kernel/futex/pi.c:202:12: error: invalid storage class for function ‘attach_to_pi_state’
    kernel/futex/pi.c:320:12: error: invalid storage class for function ‘handle_exit_race’
    kernel/futex/pi.c:376:13: error: invalid storage class for function ‘__attach_to_pi_owner’
    kernel/futex/pi.c:410:12: error: invalid storage class for function ‘attach_to_pi_owner’
    kernel/futex/pi.c:474:12: error: invalid storage class for function ‘lock_pi_update_atomic’
    kernel/futex/pi.c:514:5: error: static declaration of ‘futex_lock_pi_atomic’ follows non-static declaration
    kernel/futex/pi.c:613:12: error: invalid storage class for function ‘wake_futex_pi’
    kernel/futex/pi.c:683:12: error: invalid storage class for function ‘__fixup_pi_state_owner’
    kernel/futex/pi.c:855:12: error: invalid storage class for function ‘fixup_pi_state_owner’
    kernel/futex/pi.c:884:5: error: static declaration of ‘fixup_pi_owner’ follows non-static declaration
    kernel/futex/pi.c:930:5: error: static declaration of ‘futex_lock_pi’ follows non-static declaration
    kernel/futex/pi.c:1100:5: error: static declaration of ‘futex_unlock_pi’ follows non-static declaration
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    kernel/futex/pi.c:1232: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]
    arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    cc1: some warnings being treated as errors
    kernel/futex/pi.c:1100:5: warning: ‘futex_unlock_pi’ defined but not used [-Wunused-function]
    kernel/futex/pi.c:930:5: warning: ‘futex_lock_pi’ 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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
s3c2410_defconfig (arm, 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

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

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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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

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

--------------------------------------------------------------------------------
tinyconfig (x86_64, 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 ''

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
workpad_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

--------------------------------------------------------------------------------
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+amdgpu (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 <info@xxxxxxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux