All of lore.kernel.org
 help / color / mirror / Atom feed
From: "kernelci.org bot" <bot@kernelci.org>
To: llvm@lists.linux.dev
Subject: next/master build: 211 builds: 68 failed, 143 passed, 3181 errors, 1127 warnings (next-20211203)
Date: Fri, 03 Dec 2021 03:02:12 -0800 (PST)	[thread overview]
Message-ID: <61a9f934.1c69fb81.6c860.8f55@mx.google.com> (raw)

next/master build: 211 builds: 68 failed, 143 passed, 3181 errors, 1127 warnings (next-20211203)

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

Tree: next
Branch: master
Git Describe: next-20211203
Git Commit: 7afeac307a9561e3a93682c1e7eb22f918aa1187
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
    aspeed_g5_defconfig: (clang-13) FAIL
    aspeed_g5_defconfig: (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
    allnoconfig: (gcc-10) FAIL
    ar7_defconfig: (gcc-10) FAIL
    ath25_defconfig: (gcc-10) FAIL
    ath79_defconfig: (gcc-10) FAIL
    bcm47xx_defconfig: (gcc-10) FAIL
    bigsur_defconfig: (gcc-10) FAIL
    bmips_be_defconfig: (gcc-10) FAIL
    bmips_stb_defconfig: (gcc-10) FAIL
    capcella_defconfig: (gcc-10) FAIL
    cavium_octeon_defconfig: (gcc-10) FAIL
    ci20_defconfig: (gcc-10) FAIL
    cobalt_defconfig: (gcc-10) FAIL
    cu1000-neo_defconfig: (gcc-10) FAIL
    cu1830-neo_defconfig: (gcc-10) FAIL
    db1xxx_defconfig: (gcc-10) FAIL
    decstation_64_defconfig: (gcc-10) FAIL
    decstation_defconfig: (gcc-10) FAIL
    decstation_r4k_defconfig: (gcc-10) FAIL
    e55_defconfig: (gcc-10) FAIL
    fuloong2e_defconfig: (gcc-10) FAIL
    gcw0_defconfig: (gcc-10) FAIL
    gpr_defconfig: (gcc-10) FAIL
    ip22_defconfig: (gcc-10) FAIL
    ip27_defconfig: (gcc-10) FAIL
    ip28_defconfig: (gcc-10) FAIL
    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
    pic32mzda_defconfig: (gcc-10) FAIL
    qi_lb60_defconfig: (gcc-10) FAIL
    rb532_defconfig: (gcc-10) FAIL
    rbtx49xx_defconfig: (gcc-10) FAIL
    rm200_defconfig: (gcc-10) FAIL
    rs90_defconfig: (gcc-10) FAIL
    sb1250_swarm_defconfig: (gcc-10) FAIL
    tb0219_defconfig: (gcc-10) FAIL
    tb0226_defconfig: (gcc-10) FAIL
    tb0287_defconfig: (gcc-10) FAIL
    vocore2_defconfig: (gcc-10) FAIL
    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
    tinyconfig (gcc-10): 3 warnings

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

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

i386:
    allmodconfig (clang-13): 10 errors, 1 warning
    i386_defconfig (clang-13): 2 warnings
    tinyconfig (gcc-10): 2 warnings

mips:
    32r2el_defconfig (gcc-10): 52 errors, 17 warnings
    32r2el_defconfig+debug (gcc-10): 52 errors, 17 warnings
    allnoconfig (gcc-10): 52 errors, 16 warnings
    ar7_defconfig (gcc-10): 52 errors, 16 warnings
    ath25_defconfig (gcc-10): 52 errors, 16 warnings
    ath79_defconfig (gcc-10): 52 errors, 16 warnings
    bcm47xx_defconfig (gcc-10): 52 errors, 16 warnings
    bigsur_defconfig (gcc-10): 55 errors, 16 warnings
    bmips_be_defconfig (gcc-10): 52 errors, 16 warnings
    bmips_stb_defconfig (gcc-10): 52 errors, 16 warnings
    capcella_defconfig (gcc-10): 52 errors, 16 warnings
    cavium_octeon_defconfig (gcc-10): 55 errors, 16 warnings
    ci20_defconfig (gcc-10): 52 errors, 17 warnings
    cobalt_defconfig (gcc-10): 52 errors, 16 warnings
    cu1000-neo_defconfig (gcc-10): 52 errors, 16 warnings
    cu1830-neo_defconfig (gcc-10): 52 errors, 16 warnings
    db1xxx_defconfig (gcc-10): 52 errors, 16 warnings
    decstation_64_defconfig (gcc-10): 55 errors, 16 warnings
    decstation_defconfig (gcc-10): 52 errors, 16 warnings
    decstation_r4k_defconfig (gcc-10): 52 errors, 16 warnings
    e55_defconfig (gcc-10): 52 errors, 16 warnings
    fuloong2e_defconfig (gcc-10): 101 errors, 53 warnings
    gcw0_defconfig (gcc-10): 52 errors, 16 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): 52 errors, 16 warnings
    malta_qemu_32r6_defconfig (gcc-10): 90 errors, 43 warnings
    maltaaprp_defconfig (gcc-10): 52 errors, 16 warnings
    maltasmvp_defconfig (gcc-10): 52 errors, 16 warnings
    maltasmvp_eva_defconfig (gcc-10): 52 errors, 16 warnings
    maltaup_defconfig (gcc-10): 52 errors, 16 warnings
    maltaup_xpa_defconfig (gcc-10): 52 errors, 16 warnings
    mpc30x_defconfig (gcc-10): 52 errors, 16 warnings
    mtx1_defconfig (gcc-10): 52 errors, 16 warnings
    omega2p_defconfig (gcc-10): 90 errors, 43 warnings
    pic32mzda_defconfig (gcc-10): 52 errors, 16 warnings
    qi_lb60_defconfig (gcc-10): 52 errors, 16 warnings
    rb532_defconfig (gcc-10): 52 errors, 16 warnings
    rbtx49xx_defconfig (gcc-10): 90 errors, 43 warnings
    rm200_defconfig (gcc-10): 52 errors, 16 warnings
    rs90_defconfig (gcc-10): 52 errors, 16 warnings
    sb1250_swarm_defconfig (gcc-10): 55 errors, 16 warnings
    tb0219_defconfig (gcc-10): 52 errors, 16 warnings
    tb0226_defconfig (gcc-10): 52 errors, 16 warnings
    tb0287_defconfig (gcc-10): 52 errors, 16 warnings
    vocore2_defconfig (gcc-10): 52 errors, 16 warnings
    workpad_defconfig (gcc-10): 52 errors, 16 warnings
    xway_defconfig (gcc-10): 52 errors, 16 warnings

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

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

Errors summary:

    285  kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input
    61   kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    61   kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    61   kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    61   kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    61   kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    61   kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    61   kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    61   kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    61   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]
    61   arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    57   kernel/futex/core.c:935:13: error: invalid storage class for function ‘exit_pi_state_list’
    57   kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    57   kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    57   kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    57   kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    57   kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    57   kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    57   kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    57   kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    57   kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    57   kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    57   kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    57   kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    57   kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    57   kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    57   kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    57   kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    57   kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    57   kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    57   kernel/futex/core.c:1141:15: error: initializer element is not constant
    57   kernel/futex/core.c:1115:19: error: invalid storage class for function ‘futex_init’
    57   kernel/futex/core.c:1076:13: error: invalid storage class for function ‘futex_cleanup_end’
    57   kernel/futex/core.c:1050:13: error: invalid storage class for function ‘futex_cleanup_begin’
    57   kernel/futex/core.c:1007:13: error: invalid storage class for function ‘futex_cleanup’
    57   kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    57   kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    57   kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    57   kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    57   kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    57   kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    57   kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    57   kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    20   kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input
    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’
    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    kernel/futex/syscalls.c:197:12: error: invalid storage class for function ‘futex_parse_waitv’
    4    kernel/futex/syscalls.c:151:1: error: invalid storage class for function ‘futex_init_timeout’
    4    kernel/futex/syscalls.c:137:29: error: invalid storage class for function ‘futex_cmd_has_timeout’
    4    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    4    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    4    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex’
    4    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    4    include/linux/syscalls.h:255:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    4    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]
    4    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]
    4    include/linux/syscalls.h:249:14: error: implicit declaration of function ‘__do_sys_futex’; did you mean ‘__se_sys_futex’? [-Werror=implicit-function-declaration]
    4    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]
    4    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]
    4    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_set_robust_list’ follows non-static declaration
    4    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_get_robust_list’ follows non-static declaration
    4    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex’ follows non-static declaration
    4    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_waitv’ follows non-static declaration
    4    include/linux/syscalls.h:247:18: error: static declaration of ‘__se_sys_futex_time32’ follows non-static declaration
    4    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_set_robust_list’
    4    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_get_robust_list’
    4    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex’
    4    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_waitv’
    4    include/linux/syscalls.h:245:21: error: invalid storage class for function ‘__do_sys_futex_time32’
    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    ld.lld: error: undefined symbol: drm_gem_cma_prime_import_sg_table
    1    ld.lld: error: undefined symbol: drm_gem_cma_dumb_create
    1    ld.lld: error: undefined symbol: drm_fb_cma_get_gem_obj
    1    include/linux/compat.h:87:21: error: invalid storage class for function ‘__do_compat_sys_set_robust_list’
    1    include/linux/compat.h:87:21: error: invalid storage class for function ‘__do_compat_sys_get_robust_list’
    1    include/linux/compat.h:82:14: error: implicit declaration of function ‘__do_compat_sys_set_robust_list’; did you mean ‘__se_compat_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    1    include/linux/compat.h:82:14: error: implicit declaration of function ‘__do_compat_sys_get_robust_list’; did you mean ‘__do_compat_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    1    include/linux/compat.h:80:18: error: static declaration of ‘__se_compat_sys_set_robust_list’ follows non-static declaration
    1    include/linux/compat.h:80:18: error: static declaration of ‘__se_compat_sys_get_robust_list’ follows non-static declaration
    1    include/linux/compat.h:78:21: error: invalid storage class for function ‘__do_compat_sys_set_robust_list’
    1    include/linux/compat.h:78:21: error: invalid storage class for function ‘__do_compat_sys_get_robust_list’
    1    drivers/staging/greybus/audio_topology.c:977:12: error: stack frame size (1804) 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 (1116) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:3518:6: error: stack frame size (1276) exceeds limit (1024) in function 'dml21_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:1466:13: error: stack frame size (1196) exceeds limit (1024) in function 'DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:3393:6: error: stack frame size (1580) exceeds limit (1024) in function 'dml20v2_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    1    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:1145:13: error: stack frame size (1276) 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 (1612) 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    crypto/wp512.c:782:13: error: stack frame size (1176) exceeds limit (1024) in function 'wp512_process_buffer' [-Werror,-Wframe-larger-than]
    1    arm-linux-gnueabihf-ld: drivers/gpu/drm/aspeed/aspeed_gfx_drv.o:(.rodata+0x3c): undefined reference to `drm_gem_cma_dumb_create'
    1    arm-linux-gnueabihf-ld: drivers/gpu/drm/aspeed/aspeed_gfx_drv.o:(.rodata+0x34): undefined reference to `drm_gem_cma_prime_import_sg_table'
    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'
    1    /tmp/kci/linux/build/../drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c:187: undefined reference to `drm_fb_cma_get_gem_obj'

Warnings summary:

    61   cc1: some warnings being treated as errors
    61   arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    57   kernel/futex/futex.h:111:29: warning: unused variable ‘futex_q_init’ [-Wunused-variable]
    57   kernel/futex/core.c:620:6: warning: ‘futex_unqueue_pi’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:573:5: warning: ‘futex_unqueue’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:543:6: warning: ‘__futex_queue’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:536:6: warning: ‘futex_q_unlock’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:513:27: warning: ‘futex_q_lock’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:469:6: warning: ‘wait_for_owner_exiting’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:451:5: warning: ‘futex_get_value_locked’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:429:17: warning: ‘futex_top_waiter’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:220:5: warning: ‘get_futex_key’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:135:1: warning: ‘futex_setup_timer’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:1108:6: warning: ‘futex_exit_release’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:1090:6: warning: ‘futex_exec_release’ defined but not used [-Wunused-function]
    57   kernel/futex/core.c:1042:6: warning: ‘futex_exit_recursive’ defined but not used [-Wunused-function]
    23   clang: warning: argument unused during compilation: '-march=armv6k' [-Wunused-command-line-argument]
    20   include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    20   include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    20   include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    12   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    1 warning generated.
    6    net/wireless/reg.c:1137:23: warning: implicit conversion from enumeration type 'enum nl80211_user_reg_hint_type' to different enumeration type 'enum nl80211_reg_initiator' [-Wenum-conversion]
    4    kernel/futex/syscalls.c:50:10: warning: ‘alias’ attribute ignored [-Wattributes]
    4    kernel/futex/syscalls.c:357:16: warning: ‘alias’ attribute ignored [-Wattributes]
    4    kernel/futex/syscalls.c:29:41: warning: ‘alias’ attribute ignored [-Wattributes]
    4    kernel/futex/syscalls.c:248:10: warning: ‘alias’ attribute ignored [-Wattributes]
    4    kernel/futex/syscalls.c:165:16: warning: ‘alias’ attribute ignored [-Wattributes]
    4    include/linux/syscalls.h:247:18: warning: ‘__se_sys_set_robust_list’ defined but not used [-Wunused-function]
    4    include/linux/syscalls.h:247:18: warning: ‘__se_sys_get_robust_list’ defined but not used [-Wunused-function]
    4    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex’ defined but not used [-Wunused-function]
    4    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_waitv’ defined but not used [-Wunused-function]
    4    include/linux/syscalls.h:247:18: warning: ‘__se_sys_futex_time32’ defined but not used [-Wunused-function]
    4    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning
    3    fs/inode.c:73:29: warning: ‘inodes_stat’ defined but not used [-Wunused-variable]
    3    fs/dcache.c:128:29: warning: ‘dentry_stat’ defined but not used [-Wunused-variable]
    3    fs/9p/vfs_addr.c:140:16: warning: unused variable 'inode' [-Wunused-variable]
    2    include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘struct gpio_desc *’ [-Wformat=]
    2    include/linux/compat.h:87:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    2    include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    2    include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    2    arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
    2    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    1    vmlinux.o: warning: objtool: vc_switch_off_ist()+0xdc: 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()+0xa2: call to cpuid_eax() leaves .noinstr.text section
    1    vmlinux.o: warning: objtool: in_task_stack()+0x13: 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()+0xdd: 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/syscalls.c:318:1: warning: ‘alias’ attribute ignored [-Wattributes]
    1    kernel/futex/syscalls.c:307:10: warning: ‘alias’ attribute ignored [-Wattributes]
    1    include/linux/compat.h:80:18: warning: ‘__se_compat_sys_set_robust_list’ defined but not used [-Wunused-function]
    1    include/linux/compat.h:80:18: warning: ‘__se_compat_sys_get_robust_list’ defined but not used [-Wunused-function]
    1    fs/reiserfs/do_balan.o: warning: objtool: balance_leaf_when_delete()+0x1095: stack state mismatch: cfa1=4+184 cfa2=4+176
    1    fs/inode.c:73:29: warning: 'inodes_stat' defined but not used [-Wunused-variable]
    1    fs/dcache.c:128:29: warning: 'dentry_stat' defined but not used [-Wunused-variable]
    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    #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+0x149d57): Section mismatch in reference from the function __next_node() to the variable .init.data:numa_nodes_parsed
    1    WARNING: modpost: vmlinux.o(.text+0x149d0f): Section mismatch in reference from the function __first_node() to the variable .init.data:numa_nodes_parsed
    1    WARNING: modpost: vmlinux.o(.text+0x149cd4): Section mismatch in reference from the function early_get_smp_config() to the variable .init.data:x86_init
    1    WARNING: modpost: vmlinux.o(.text+0x149cc8): Section mismatch in reference from the function early_get_smp_config() to the variable .init.data:x86_init
    1    WARNING: modpost: vmlinux.o(.text+0x149c88): Section mismatch in reference from the function __nodes_weight() to the variable .init.data:numa_nodes_parsed
    1    WARNING: modpost: vmlinux.o(.text+0x149c22): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
    1    WARNING: modpost: vmlinux.o(.text+0x149c0e): 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

--------------------------------------------------------------------------------
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 (i386, clang-13) — FAIL, 10 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 (1804) 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 (1116) exceeds limit (1024) in function 'dml_rq_dlg_get_dlg_params' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:1466:13: error: stack frame size (1196) exceeds limit (1024) in function 'DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation' [-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/dcn21/display_mode_vba_21.c:3518:6: error: stack frame size (1276) exceeds limit (1024) in function 'dml21_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 (1276) exceeds limit (1024) in function 'dml20v2_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 (1612) exceeds limit (1024) in function 'dml20_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c:3393:6: error: stack frame size (1580) exceeds limit (1024) in function 'dml20v2_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]

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

--------------------------------------------------------------------------------
allmodconfig (x86_64, clang-13) — FAIL, 2 errors, 15 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:
    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()+0xdc: 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()+0x13: 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()+0xa2: call to cpuid_eax() leaves .noinstr.text section
    vmlinux.o: warning: objtool: do_machine_check()+0xdd: 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/do_balan.o: warning: objtool: balance_leaf_when_delete()+0x1095: stack state mismatch: cfa1=4+184 cfa2=4+176
    fs/cachefiles/io.c:440:9: note: initialize the variable 'ret' to silence this warning

Section mismatches:
    WARNING: modpost: vmlinux.o(.text+0x149c0e): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
    WARNING: modpost: vmlinux.o(.text+0x149c22): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
    WARNING: modpost: vmlinux.o(.text+0x149c88): Section mismatch in reference from the function __nodes_weight() to the variable .init.data:numa_nodes_parsed
    WARNING: modpost: vmlinux.o(.text+0x149cc8): Section mismatch in reference from the function early_get_smp_config() to the variable .init.data:x86_init
    WARNING: modpost: vmlinux.o(.text+0x149cd4): Section mismatch in reference from the function early_get_smp_config() to the variable .init.data:x86_init
    WARNING: modpost: vmlinux.o(.text+0x149d0f): Section mismatch in reference from the function __first_node() to the variable .init.data:numa_nodes_parsed
    WARNING: modpost: vmlinux.o(.text+0x149d57): Section mismatch in reference from the function __next_node() to the variable .init.data:numa_nodes_parsed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
aspeed_g5_defconfig (arm, clang-13) — FAIL, 3 errors, 9 warnings, 0 section mismatches

Errors:
    ld.lld: error: undefined symbol: drm_gem_cma_prime_import_sg_table
    ld.lld: error: undefined symbol: drm_gem_cma_dumb_create
    ld.lld: error: undefined symbol: drm_fb_cma_get_gem_obj

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]

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

Errors:
    arm-linux-gnueabihf-ld: drivers/gpu/drm/aspeed/aspeed_gfx_drv.o:(.rodata+0x34): undefined reference to `drm_gem_cma_prime_import_sg_table'
    arm-linux-gnueabihf-ld: drivers/gpu/drm/aspeed/aspeed_gfx_drv.o:(.rodata+0x3c): undefined reference to `drm_gem_cma_dumb_create'
    /tmp/kci/linux/build/../drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c:187: undefined reference to `drm_fb_cma_get_gem_obj'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warnings:
    arch/mips/boot/dts/ingenic/jz4780.dtsi: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

--------------------------------------------------------------------------------
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, 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 (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_ARM64_16K_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_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_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_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+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+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]

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-10) — FAIL, 101 errors, 53 warnings, 0 section mismatches

Errors:
    arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function ‘arch_futex_atomic_op_inuser_local’; did you mean ‘futex_atomic_op_inuser_local’? [-Werror=implicit-function-declaration]
    arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function ‘futex_atomic_cmpxchg_inatomic’
    kernel/futex/futex.h:33:20: error: invalid storage class for function ‘should_fail_futex’
    kernel/futex/futex.h:134:19: error: invalid storage class for function ‘futex_match’
    kernel/futex/futex.h:169:20: error: invalid storage class for function ‘futex_queue’
    kernel/futex/futex.h:183:20: error: invalid storage class for function ‘futex_hb_waiters_inc’
    kernel/futex/futex.h:198:20: error: invalid storage class for function ‘futex_hb_waiters_dec’
    kernel/futex/futex.h:205:19: error: invalid storage class for function ‘futex_hb_waiters_pending’
    kernel/futex/futex.h:238:1: error: invalid storage class for function ‘double_lock_hb’
    kernel/futex/futex.h:249:1: error: invalid storage class for function ‘double_unlock_hb’
    kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function ‘rt_mutex_has_waiters’
    kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function ‘rt_mutex_waiter_is_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function ‘rt_mutex_top_waiter’
    kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function ‘task_has_pi_waiters’
    kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function ‘task_top_pi_waiter’
    kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function ‘rt_mutex_owner’
    kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function ‘__rt_mutex_base_init’
    kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function ‘debug_rt_mutex_unlock’
    kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function ‘debug_rt_mutex_proxy_unlock’
    kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function ‘debug_rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function ‘debug_rt_mutex_free_waiter’
    kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function ‘rt_mutex_init_waiter’
    kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function ‘rt_mutex_init_rtlock_waiter’
    kernel/futex/core.c:115:27: error: static declaration of ‘futex_hash’ follows non-static declaration
    kernel/futex/core.c:135:1: error: static declaration of ‘futex_setup_timer’ follows non-static declaration
    kernel/futex/core.c:171:12: error: invalid storage class for function ‘get_inode_sequence_number’
    kernel/futex/core.c:220:5: error: static declaration of ‘get_futex_key’ follows non-static declaration
    kernel/futex/core.c:409:5: error: static declaration of ‘fault_in_user_writeable’ follows non-static declaration
    kernel/futex/core.c:429:17: error: static declaration of ‘futex_top_waiter’ follows non-static declaration
    kernel/futex/core.c:440:5: error: static declaration of ‘futex_cmpxchg_value_locked’ follows non-static declaration
    kernel/futex/core.c:451:5: error: static declaration of ‘futex_get_value_locked’ follows non-static declaration
    kernel/futex/core.c:469:6: error: static declaration of ‘wait_for_owner_exiting’ follows non-static declaration
    kernel/futex/core.c:499:6: error: static declaration of ‘__futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:513:27: error: static declaration of ‘futex_q_lock’ follows non-static declaration
    kernel/futex/core.c:536:6: error: static declaration of ‘futex_q_unlock’ follows non-static declaration
    kernel/futex/core.c:543:6: error: static declaration of ‘__futex_queue’ follows non-static declaration
    kernel/futex/core.c:573:5: error: static declaration of ‘futex_unqueue’ follows non-static declaration
    kernel/futex/core.c:620:6: error: static declaration of ‘futex_unqueue_pi’ follows non-static declaration
    kernel/futex/core.c:637:12: error: invalid storage class for function ‘handle_futex_death’
    kernel/futex/core.c:744:19: error: invalid storage class for function ‘fetch_robust_entry’
    kernel/futex/core.c:765:13: error: invalid storage class for function ‘exit_robust_list’
    kernel/futex/core.c: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
    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/compat.h:78:21: error: invalid storage class for function ‘__do_compat_sys_set_robust_list’
    include/linux/compat.h:80:18: error: static declaration of ‘__se_compat_sys_set_robust_list’ follows non-static declaration
    include/linux/compat.h:82:14: error: implicit declaration of function ‘__do_compat_sys_set_robust_list’; did you mean ‘__se_compat_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/compat.h:87:21: error: invalid storage class for function ‘__do_compat_sys_set_robust_list’
    include/linux/compat.h:78:21: error: invalid storage class for function ‘__do_compat_sys_get_robust_list’
    include/linux/compat.h:80:18: error: static declaration of ‘__se_compat_sys_get_robust_list’ follows non-static declaration
    include/linux/compat.h:82:14: error: implicit declaration of function ‘__do_compat_sys_get_robust_list’; did you mean ‘__do_compat_sys_set_robust_list’? [-Werror=implicit-function-declaration]
    include/linux/compat.h:87:21: error: invalid storage class for function ‘__do_compat_sys_get_robust_list’
    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:307:10: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/compat.h:87:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    kernel/futex/syscalls.c:318:1: warning: ‘alias’ attribute ignored [-Wattributes]
    include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    include/linux/compat.h:87: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/compat.h:80:18: warning: ‘__se_compat_sys_get_robust_list’ defined but not used [-Wunused-function]
    include/linux/compat.h:80:18: warning: ‘__se_compat_sys_set_robust_list’ 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warnings:
    fs/dcache.c:128:29: warning: ‘dentry_stat’ defined but not used [-Wunused-variable]
    fs/inode.c:73:29: warning: ‘inodes_stat’ defined but not used [-Wunused-variable]

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

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

Warnings:
    fs/dcache.c:128:29: warning: ‘dentry_stat’ defined but not used [-Wunused-variable]
    fs/inode.c:73:29: warning: ‘inodes_stat’ defined but not used [-Wunused-variable]

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

Warnings:
    fs/dcache.c:128:29: warning: ‘dentry_stat’ defined but not used [-Wunused-variable]
    fs/inode.c:73:29: warning: ‘inodes_stat’ defined but not used [-Wunused-variable]

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

Warnings:
    arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
    fs/dcache.c:128:29: warning: 'dentry_stat' defined but not used [-Wunused-variable]
    fs/inode.c:73:29: warning: 'inodes_stat' defined but not used [-Wunused-variable]

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

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

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

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

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

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

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

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

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

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

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

---
For more info write to <info@kernelci.org>

             reply	other threads:[~2021-12-03 11:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 11:02 kernelci.org bot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-03 11:02 next/master build: 211 builds: 68 failed, 143 passed, 3181 errors, 1127 warnings (next-20211203) kernelci.org bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61a9f934.1c69fb81.6c860.8f55@mx.google.com \
    --to=bot@kernelci.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.