next/master build: 216 builds: 66 failed, 150 passed, 3352 errors, 1245 warnings (next-20211207)

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

 



next/master build: 216 builds: 66 failed, 150 passed, 3352 errors, 1245 warnings (next-20211207)

Full Build Summary: https://kernelci.org/build/next/branch/master/kernel/next-20211207/

Tree: next
Branch: master
Git Describe: next-20211207
Git Commit: 04fe99a8d936d46a310ca61b8b63dc270962bf01
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Built: 7 unique architectures

Build Failures Detected:

arm64:
    allmodconfig: (clang-13) FAIL

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

i386:
    allmodconfig: (clang-13) FAIL

mips:
    32r2el_defconfig: (gcc-10) FAIL
    32r2el_defconfig+debug: (gcc-10) FAIL
    32r2el_defconfig+kselftest: (gcc-10) FAIL
    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
    ip32_defconfig: (gcc-10) FAIL
    jazz_defconfig: (gcc-10) FAIL
    jmr3927_defconfig: (gcc-10) FAIL
    lemote2f_defconfig: (gcc-10) FAIL
    loongson1b_defconfig: (gcc-10) FAIL
    loongson1c_defconfig: (gcc-10) FAIL
    loongson2k_defconfig: (gcc-10) FAIL
    loongson3_defconfig: (gcc-10) FAIL
    malta_defconfig: (gcc-10) FAIL
    malta_kvm_defconfig: (gcc-10) FAIL
    malta_qemu_32r6_defconfig: (gcc-10) FAIL
    maltaaprp_defconfig: (gcc-10) FAIL
    maltasmvp_defconfig: (gcc-10) FAIL
    maltasmvp_eva_defconfig: (gcc-10) FAIL
    maltaup_defconfig: (gcc-10) FAIL
    maltaup_xpa_defconfig: (gcc-10) FAIL
    mpc30x_defconfig: (gcc-10) FAIL
    mtx1_defconfig: (gcc-10) FAIL
    omega2p_defconfig: (gcc-10) FAIL
    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
    tb0226_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
    allmodconfig: (gcc-10) FAIL

Errors and Warnings Detected:

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

arm64:
    allmodconfig (clang-13): 2 errors, 1 warning
    defconfig (gcc-10): 1 warning
    defconfig (clang-13): 4 warnings
    defconfig+CONFIG_ARM64_64K_PAGES=y (clang-13): 4 warnings
    defconfig+CONFIG_ARM64_64K_PAGES=y (gcc-10): 1 warning
    defconfig+CONFIG_CPU_BIG_ENDIAN=y (gcc-10): 1 warning
    defconfig+CONFIG_RANDOMIZE_BASE=y (gcc-10): 1 warning
    defconfig+arm64-chromebook (gcc-10): 1 warning
    defconfig+arm64-chromebook+kselftest (gcc-10): 1 warning
    defconfig+crypto (gcc-10): 1 warning
    defconfig+debug (gcc-10): 1 warning
    defconfig+ima (gcc-10): 1 warning
    defconfig+kselftest (gcc-10): 1 warning

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

i386:
    allmodconfig (clang-13): 8 errors, 1 warning
    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): 52 errors, 17 warnings
    ar7_defconfig (gcc-10): 52 errors, 16 warnings
    ath25_defconfig (gcc-10): 90 errors, 43 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): 90 errors, 43 warnings
    cavium_octeon_defconfig (gcc-10): 55 errors, 16 warnings
    ci20_defconfig (gcc-10): 90 errors, 44 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
    ip32_defconfig (gcc-10): 55 errors, 16 warnings
    jazz_defconfig (gcc-10): 52 errors, 16 warnings
    jmr3927_defconfig (gcc-10): 52 errors, 16 warnings
    lemote2f_defconfig (gcc-10): 55 errors, 16 warnings
    loongson1b_defconfig (gcc-10): 52 errors, 16 warnings
    loongson1c_defconfig (gcc-10): 52 errors, 16 warnings
    loongson2k_defconfig (gcc-10): 55 errors, 16 warnings
    loongson3_defconfig (gcc-10): 55 errors, 16 warnings
    malta_defconfig (gcc-10): 52 errors, 16 warnings
    malta_kvm_defconfig (gcc-10): 138 errors, 47 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
    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): 90 errors, 43 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
    tb0226_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): 90 errors, 43 warnings

riscv:
    defconfig (gcc-10): 1 warning
    defconfig+CONFIG_EFI=n (clang-13): 2 warnings
    defconfig+debug (gcc-10): 1 warning
    defconfig+kselftest (gcc-10): 1 warning
    rv32_defconfig (gcc-10): 1 warning

x86_64:
    allmodconfig (gcc-10): 2 errors
    allmodconfig (clang-13): 2 errors, 17 warnings
    x86_64_defconfig (clang-13): 2 warnings
    x86_64_defconfig+x86_kvm_guest (gcc-10): 1 warning

Errors summary:

    280  kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    66   kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    66   kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    66   kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    66   kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    66   kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    66   kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    66   kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    66   kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    66   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]
    66   arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    57   kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    57   kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    57   kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    57   kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    57   kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    57   kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    57   kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    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’
    45   kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    9    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    9    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    9    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    9    kernel/futex/core.c:859:13: error: invalid storage class for function ‘compat_exit_robust_list’
    9    kernel/futex/core.c:841:1: error: invalid storage class for function ‘compat_fetch_robust_entry’
    9    kernel/futex/core.c:828:21: error: invalid storage class for function ‘futex_uaddr’
    9    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    9    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    9    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    9    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    9    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    9    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]
    9    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]
    9    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    9    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]
    9    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]
    9    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    9    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    9    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    9    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    9    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_time32’ follows non-static declaration
    9    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    9    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    9    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    9    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    9    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    5    kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input
    4    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]
    4    fs/cachefiles/io.c:489:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
    2    /usr/lib/gcc/x86_64-linux-gnu/10/plugin/include/config/i386/i386.h:2500:10: fatal error: common/config/i386/i386-cpuinfo.h: No such file or directory
    1    kernel/futex/pi.c:930:5: error: static declaration of ‘futex_lock_pi’ follows non-static declaration
    1    kernel/futex/pi.c:884:5: error: static declaration of ‘fixup_pi_owner’ follows non-static declaration
    1    kernel/futex/pi.c:855:12: error: invalid storage class for function ‘fixup_pi_state_owner’
    1    kernel/futex/pi.c:77:6: error: static declaration of ‘put_pi_state’ follows non-static declaration
    1    kernel/futex/pi.c:68:6: error: static declaration of ‘get_pi_state’ follows non-static declaration
    1    kernel/futex/pi.c:683:12: error: invalid storage class for function ‘__fixup_pi_state_owner’
    1    kernel/futex/pi.c:613:12: error: invalid storage class for function ‘wake_futex_pi’
    1    kernel/futex/pi.c:514:5: error: static declaration of ‘futex_lock_pi_atomic’ follows non-static declaration
    1    kernel/futex/pi.c:474:12: error: invalid storage class for function ‘lock_pi_update_atomic’
    1    kernel/futex/pi.c:45:13: error: invalid storage class for function ‘pi_state_update_owner’
    1    kernel/futex/pi.c:410:12: error: invalid storage class for function ‘attach_to_pi_owner’
    1    kernel/futex/pi.c:376:13: error: invalid storage class for function ‘__attach_to_pi_owner’
    1    kernel/futex/pi.c:35:31: error: invalid storage class for function ‘alloc_pi_state’
    1    kernel/futex/pi.c:320:12: error: invalid storage class for function ‘handle_exit_race’
    1    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]
    1    kernel/futex/pi.c:202:12: error: invalid storage class for function ‘attach_to_pi_state’
    1    kernel/futex/pi.c:12:5: error: static declaration of ‘refill_pi_state_cache’ follows non-static declaration
    1    kernel/futex/pi.c:1100:5: error: static declaration of ‘futex_unlock_pi’ follows non-static declaration
    1    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]
    1    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    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/selftests/test-drm_mm.c:372:12: error: stack frame size (1032) exceeds limit (1024) in function '__igt_reserve' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:829:13: error: stack frame size (1084) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/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    crypto/wp512.c:782:13: error: stack frame size (1176) exceeds limit (1024) in function 'wp512_process_buffer' [-Werror,-Wframe-larger-than]
    1    arch/arm/lib/xor-neon.c:30:2: error: This code requires at least version 4.6 of GCC [-Werror,-W#warnings]
    1    arch/arm/kernel/head.S:319: Error: missing expression -- `ldr r7,=0x'
    1    arch/arm/kernel/head.S:319: Error: missing expression -- `ldr r3,=0x'
    1    /tmp/kci/linux/build/../drivers/gpu/drm/panel/panel-edp.c:843: undefined reference to `drm_panel_dp_aux_backlight'

Warnings summary:

    66   cc1: some warnings being treated as errors
    66   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]
    45   include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    45   include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    45   include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    24   clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    16   fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]
    10   clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]
    9    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    9    kernel/futex/syscalls.c:357:16: warning: ‘alias’ attribute ignored [-Wattributes]
    9    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    9    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    9    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    9    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    9    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    9    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    9    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    9    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_time32’ defined but not used [-Wunused-function]
    8    1 warning generated.
    5    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]
    4    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning
    3    fs/9p/vfs_addr.c:140:16: warning: unused variable 'inode' [-Wunused-variable]
    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"
    3    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    2    include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘struct gpio_desc *’ [-Wformat=]
    1    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    kernel/futex/pi.c:930:5: warning: ‘futex_lock_pi’ defined but not used [-Wunused-function]
    1    kernel/futex/pi.c:1100:5: warning: ‘futex_unlock_pi’ defined but not used [-Wunused-function]
    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:473.33-475.6: Warning (unit_address_format): /nemc@13410000/efuse@d0/eth-mac-addr@0x22: unit name should not have leading "0x"
    1    arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=]
    1    arch/arc/include/asm/perf_event.h:126:27: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=]
    1    #warning This code requires at least version 4.6 of GCC

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, 52 errors, 17 warnings, 0 section mismatches

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

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

--------------------------------------------------------------------------------
allmodconfig (arm64, clang-13) — FAIL, 2 errors, 1 warning, 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]
    fs/cachefiles/io.c:489:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

Warnings:
    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning

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

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

--------------------------------------------------------------------------------
allmodconfig (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 (arm, clang-13) — FAIL, 5 errors, 16 warnings, 0 section mismatches

Errors:
    arch/arm/lib/xor-neon.c:30:2: error: This code requires at least version 4.6 of GCC [-Werror,-W#warnings]
    crypto/wp512.c:782:13: error: stack frame size (1176) exceeds limit (1024) in function 'wp512_process_buffer' [-Werror,-Wframe-larger-than]
    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]
    fs/cachefiles/io.c:489:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
    drivers/gpu/drm/selftests/test-drm_mm.c:372:12: error: stack frame size (1032) exceeds limit (1024) in function '__igt_reserve' [-Werror,-Wframe-larger-than]

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]
    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]
    #warning This code requires at least version 4.6 of GCC
    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning

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

--------------------------------------------------------------------------------
allmodconfig (x86_64, clang-13) — FAIL, 2 errors, 17 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]
    fs/cachefiles/io.c:489:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

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()
    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning

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, 8 errors, 1 warning, 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]
    fs/cachefiles/io.c:489:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
    drivers/staging/greybus/audio_topology.c:977:12: error: stack frame size (1828) exceeds limit (1024) in function 'gbaudio_tplg_create_widget' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:829:13: error: stack frame size (1084) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/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]

Warnings:
    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
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, 90 errors, 44 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/boot/dts/ingenic/jz4780.dtsi:473.33-475.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
    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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable 'inode' [-Wunused-variable]
    1 warning generated.
    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_64K_PAGES=y (arm64, clang-13) — PASS, 0 errors, 4 warnings, 0 section mismatches

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable 'inode' [-Wunused-variable]
    1 warning generated.
    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_64K_PAGES=y (arm64, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable 'inode' [-Wunused-variable]
    1 warning generated.

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warnings:
    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    drivers/android/binder.c:2511:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    arch/arc/include/asm/perf_event.h:126:27: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=]
    arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=]

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

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

--------------------------------------------------------------------------------
i386_defconfig (i386, 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

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

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
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, 52 errors, 16 warnings, 0 section mismatches

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

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
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_defconfig (mips, gcc-10) — FAIL, 52 errors, 16 warnings, 0 section mismatches

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

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

--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-10) — FAIL, 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’
    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]
    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’
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    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/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    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/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    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/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    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: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:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    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:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    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: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: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:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    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/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/pi.c:68:6: error: static declaration of ‘get_pi_state’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/pi.c:77:6: error: static declaration of ‘put_pi_state’ 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/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/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    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/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/pi.c:410:12: error: invalid storage class for function ‘attach_to_pi_owner’
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/pi.c:474:12: error: invalid storage class for function ‘lock_pi_update_atomic’
    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/pi.c:514:5: error: static declaration of ‘futex_lock_pi_atomic’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/pi.c:613:12: error: invalid storage class for function ‘wake_futex_pi’
    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/pi.c:683:12: error: invalid storage class for function ‘__fixup_pi_state_owner’
    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/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/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    kernel/futex/pi.c:930:5: error: static declaration of ‘futex_lock_pi’ follows non-static declaration
    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
    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]
    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]
    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
    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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
multi_v7_defconfig+kselftest (arm, gcc-10) — PASS, 0 errors, 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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-10) — FAIL, 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, 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

--------------------------------------------------------------------------------
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, 1 warning, 0 section mismatches

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
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, 1 warning, 0 section mismatches

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

--------------------------------------------------------------------------------
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, 1 warning, 0 section mismatches

Warnings:
    fs/9p/vfs_addr.c:140:16: warning: unused variable ‘inode’ [-Wunused-variable]

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

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

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