Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5252406rwr; Mon, 8 May 2023 21:35:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4HR+e7bJVieP29LrlSpPFYCmw4LBc51VaToDZtq8Lez/g7WqaiEmuu/vsSOT+ClzClPB0X X-Received: by 2002:a05:6a00:2352:b0:63d:3a18:4a03 with SMTP id j18-20020a056a00235200b0063d3a184a03mr15039272pfj.5.1683606945763; Mon, 08 May 2023 21:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683606945; cv=none; d=google.com; s=arc-20160816; b=rP5ZpTnen87oNwkpXAsoKKTJ3Un+b9ZIV4gziKpW8mwH9thPG7TgQ4i/3zTFVmgqYi j4ZPsODqDnX5MiGiXMXD+hQPBuhwIwEQPnE3VSlA3W9o6rS5je+jmwfXYaQGHS4fl0iO LACkrNcne4xf07gFWOfq4vIQlpThTVkkNa34qW7w07ydsPqh9od9U55BgqV6ja2FkZhh 1TuFP4S+BkjPy2PjDv4VC5D3yDfifVlGLy6JEQbE7NUAnE8TIDtM8rL2rzxAayP4a/NB H8NNYUp/C8Qk8bxzYDI7PsXl99HqxLSbFXKC+XQwbAX9EbBl3mhYTn3XK/aZ2PQoI54Y Rs6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=mYUQtdz9IzXQ+99h2Dgg0zYLDXK9gYJYZW96E/3tuOw=; b=kY22lVrRujjRyK0Yg6JBEkWtxmpYh4h10+rtaXgCOHftaKbmVrB6XwpZcaga1T0WfU dmrprRultjHRyKIffaM+aWfvfsyeOAE1rJ/8oP6qQmHOPE6nPfGfwyEcYYAUpjfteywQ mfNTiTdHwswHV0zzDa506UZOSar4u6LPVhNYW0d8JMIL7W6l/NXsKyFsx0uP8nqxeN6D sbe2CWKljuQPbDCy1QTekETJv5c5PQhaLUHWn/q+x6MgOQ+ejmR+JSNyDFQ4Rujo96wd W2qBx/iqML6pWHcEMKSEnU6slhu9Bp16tEZ448qgdm0SAI0QlRRJ5g+SjSgCMRBYA7xM 84GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dAWpzljq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q125-20020a632a83000000b0051412a8bc7csi571148pgq.695.2023.05.08.21.35.29; Mon, 08 May 2023 21:35:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dAWpzljq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233594AbjEIDv6 (ORCPT + 99 others); Mon, 8 May 2023 23:51:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjEIDv5 (ORCPT ); Mon, 8 May 2023 23:51:57 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77BCB35AE for ; Mon, 8 May 2023 20:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683604314; x=1715140314; h=date:from:to:cc:subject:message-id:mime-version; bh=Oag8CY87tlQecZNiZythOEzbB/1bzBpHXIBFCmo9muI=; b=dAWpzljq7WT7qCMdnKmkJl9OTRz8TLThQ4MLV9PddKSE7P7pOsGrEnz+ MGoKPgzP5+lRH87owEhlU9qml2Rakx88J69dIX0DFUwpKskFPZaC6bmQp BN3x81UXA9Hug9FUWQfh7OfRMduK/WmAm31KKtuI0PVlHRq56pZXkDj0U Fls3qCdyWp52b1GN4vaGg9+HcEMwcach7l3tirxJlXS6s/SmRfVqqHCxH HnrgYMXSIXh5pD09ebOZE+tzoPOH7rdfssWVl93VBAA6nYjPvJr/Yqei4 2PJmel9blw0p3bp3EO6jxqFHPg6ATVg7geMcY6+8um5SOokL6HxbzIVBC Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10704"; a="339029678" X-IronPort-AV: E=Sophos;i="5.99,259,1677571200"; d="scan'208";a="339029678" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 20:51:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10704"; a="810498881" X-IronPort-AV: E=Sophos;i="5.99,259,1677571200"; d="scan'208";a="810498881" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 08 May 2023 20:51:52 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pwEOF-0001eU-1W; Tue, 09 May 2023 03:51:51 +0000 Date: Tue, 9 May 2023 11:50:59 +0800 From: kernel test robot To: "Paul E. McKenney" Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [paulmck-rcu:dev.2023.05.08b 71/71] include/linux/atomic/atomic-arch-fallback.h:2673:36: error: implicit declaration of function 'arch_atomic64_fetch_andnot'; did you mean 'arch_atomic64_fetch_and'? Message-ID: <202305091109.X5CYSNZ4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2023.05.08b head: 46be07e0c635f84a3ce3a6d2d841785872bf59c9 commit: 46be07e0c635f84a3ce3a6d2d841785872bf59c9 [71/71] locking/atomic: Refrain from generating duplicate fallbacks config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230509/202305091109.X5CYSNZ4-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=46be07e0c635f84a3ce3a6d2d841785872bf59c9 git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git git fetch --no-tags paulmck-rcu dev.2023.05.08b git checkout 46be07e0c635f84a3ce3a6d2d841785872bf59c9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305091109.X5CYSNZ4-lkp@intel.com/ All errors (new ones prefixed by >>): scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples In file included from : >> include/linux/compiler_types.h:369:9: error: expected identifier or '(' before 'do' 369 | do { \ | ^~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:1105:1: note: in expansion of macro 'BUILD_BUG_ON' 1105 | BUILD_BUG_ON(1) // Fallback acquire omitting duplicate arch_atomic_fetch_andnot_acquire(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:379:11: error: expected identifier or '(' before 'while' 379 | } while (0) | ^~~~~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:1105:1: note: in expansion of macro 'BUILD_BUG_ON' 1105 | BUILD_BUG_ON(1) // Fallback acquire omitting duplicate arch_atomic_fetch_andnot_acquire(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:379:11: error: expected identifier or '(' before 'while' 379 | } while (0) | ^~~~~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:1110:1: note: in expansion of macro 'BUILD_BUG_ON' 1110 | BUILD_BUG_ON(1) // Fallback release omitting duplicate arch_atomic_fetch_andnot_release(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:379:11: error: expected identifier or '(' before 'while' 379 | } while (0) | ^~~~~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:1115:1: note: in expansion of macro 'BUILD_BUG_ON' 1115 | BUILD_BUG_ON(1) // Fallback fence omitting duplicate arch_atomic_fetch_andnot(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:369:9: error: expected identifier or '(' before 'do' 369 | do { \ | ^~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:2662:1: note: in expansion of macro 'BUILD_BUG_ON' 2662 | BUILD_BUG_ON(1) // Fallback acquire omitting duplicate arch_atomic64_fetch_andnot_acquire(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:379:11: error: expected identifier or '(' before 'while' 379 | } while (0) | ^~~~~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:2662:1: note: in expansion of macro 'BUILD_BUG_ON' 2662 | BUILD_BUG_ON(1) // Fallback acquire omitting duplicate arch_atomic64_fetch_andnot_acquire(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:379:11: error: expected identifier or '(' before 'while' 379 | } while (0) | ^~~~~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:2667:1: note: in expansion of macro 'BUILD_BUG_ON' 2667 | BUILD_BUG_ON(1) // Fallback release omitting duplicate arch_atomic64_fetch_andnot_release(). | ^~~~~~~~~~~~ >> include/linux/compiler_types.h:379:11: error: expected identifier or '(' before 'while' 379 | } while (0) | ^~~~~ include/linux/compiler_types.h:385:9: note: in expansion of macro '__compiletime_assert' 385 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:2672:1: note: in expansion of macro 'BUILD_BUG_ON' 2672 | BUILD_BUG_ON(1) // Fallback fence omitting duplicate arch_atomic64_fetch_andnot(). | ^~~~~~~~~~~~ In file included from include/linux/atomic.h:80, from include/linux/rcupdate.h:25, from include/linux/rculist.h:11, from include/linux/pid.h:5, from include/linux/sched.h:14, from arch/alpha/kernel/asm-offsets.c:10: include/linux/atomic/atomic-long.h: In function 'arch_atomic_long_fetch_andnot': >> include/linux/atomic/atomic-arch-fallback.h:2673:36: error: implicit declaration of function 'arch_atomic64_fetch_andnot'; did you mean 'arch_atomic64_fetch_and'? [-Werror=implicit-function-declaration] 2673 | #define arch_atomic64_fetch_andnot arch_atomic64_fetch_andnot | ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-long.h:305:16: note: in expansion of macro 'arch_atomic64_fetch_andnot' 305 | return arch_atomic64_fetch_andnot(i, v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-long.h: In function 'arch_atomic_long_fetch_andnot_acquire': >> include/linux/atomic/atomic-arch-fallback.h:2663:44: error: implicit declaration of function 'arch_atomic64_fetch_andnot_acquire'; did you mean 'arch_atomic64_fetch_and_acquire'? [-Werror=implicit-function-declaration] 2663 | #define arch_atomic64_fetch_andnot_acquire arch_atomic64_fetch_andnot_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:2663:44: note: in definition of macro 'arch_atomic64_fetch_andnot_acquire' 2663 | #define arch_atomic64_fetch_andnot_acquire arch_atomic64_fetch_andnot_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-long.h: In function 'arch_atomic_long_fetch_andnot_release': >> include/linux/atomic/atomic-arch-fallback.h:2668:44: error: implicit declaration of function 'arch_atomic64_fetch_andnot_release'; did you mean 'arch_atomic64_fetch_and_release'? [-Werror=implicit-function-declaration] 2668 | #define arch_atomic64_fetch_andnot_release arch_atomic64_fetch_andnot_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-arch-fallback.h:2668:44: note: in definition of macro 'arch_atomic64_fetch_andnot_release' 2668 | #define arch_atomic64_fetch_andnot_release arch_atomic64_fetch_andnot_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-long.h: In function 'arch_atomic_long_fetch_or_acquire': >> include/linux/atomic/atomic-arch-fallback.h:2700:40: error: implicit declaration of function 'arch_atomic64_fetch_or_acquire'; did you mean 'arch_atomic64_fetch_xor_acquire'? [-Werror=implicit-function-declaration] 2700 | #define arch_atomic64_fetch_or_acquire arch_atomic64_fetch_or_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-long.h:341:16: note: in expansion of macro 'arch_atomic64_fetch_or_acquire' 341 | return arch_atomic64_fetch_or_acquire(i, v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h: In function 'atomic_fetch_andnot': >> include/linux/atomic/atomic-arch-fallback.h:1116:34: error: implicit declaration of function 'arch_atomic_fetch_andnot'; did you mean 'arch_atomic_fetch_and'? [-Werror=implicit-function-declaration] 1116 | #define arch_atomic_fetch_andnot arch_atomic_fetch_andnot | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h:370:16: note: in expansion of macro 'arch_atomic_fetch_andnot' 370 | return arch_atomic_fetch_andnot(i, v); | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h: In function 'atomic_fetch_andnot_acquire': >> include/linux/atomic/atomic-arch-fallback.h:1106:42: error: implicit declaration of function 'arch_atomic_fetch_andnot_acquire'; did you mean 'arch_atomic_fetch_and_acquire'? [-Werror=implicit-function-declaration] 1106 | #define arch_atomic_fetch_andnot_acquire arch_atomic_fetch_andnot_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h:377:16: note: in expansion of macro 'arch_atomic_fetch_andnot_acquire' 377 | return arch_atomic_fetch_andnot_acquire(i, v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h: In function 'atomic_fetch_andnot_release': >> include/linux/atomic/atomic-arch-fallback.h:1111:42: error: implicit declaration of function 'arch_atomic_fetch_andnot_release'; did you mean 'arch_atomic_fetch_and_release'? [-Werror=implicit-function-declaration] 1111 | #define arch_atomic_fetch_andnot_release arch_atomic_fetch_andnot_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h:385:16: note: in expansion of macro 'arch_atomic_fetch_andnot_release' 385 | return arch_atomic_fetch_andnot_release(i, v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h: In function 'atomic_fetch_or_acquire': >> include/linux/atomic/atomic-arch-fallback.h:1143:38: error: implicit declaration of function 'arch_atomic_fetch_or_acquire'; did you mean 'arch_atomic_fetch_xor_acquire'? [-Werror=implicit-function-declaration] 1143 | #define arch_atomic_fetch_or_acquire arch_atomic_fetch_or_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/atomic/atomic-instrumented.h:414:16: note: in expansion of macro 'arch_atomic_fetch_or_acquire' 414 | return arch_atomic_fetch_or_acquire(i, v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/alpha/kernel/asm-offsets.c: At top level: arch/alpha/kernel/asm-offsets.c:15:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes] 15 | void foo(void) | ^~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:114: arch/alpha/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:1287: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +2673 include/linux/atomic/atomic-arch-fallback.h 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2660 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2661 #ifndef arch_atomic64_fetch_andnot_acquire 46be07e0c635f8 include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-08 2662 BUILD_BUG_ON(1) // Fallback acquire omitting duplicate arch_atomic64_fetch_andnot_acquire(). 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 @2663 #define arch_atomic64_fetch_andnot_acquire arch_atomic64_fetch_andnot_acquire 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2664 #endif 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2665 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2666 #ifndef arch_atomic64_fetch_andnot_release 46be07e0c635f8 include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-08 2667 BUILD_BUG_ON(1) // Fallback release omitting duplicate arch_atomic64_fetch_andnot_release(). 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 @2668 #define arch_atomic64_fetch_andnot_release arch_atomic64_fetch_andnot_release 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2669 #endif 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2670 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2671 #ifndef arch_atomic64_fetch_andnot 46be07e0c635f8 include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-08 2672 BUILD_BUG_ON(1) // Fallback fence omitting duplicate arch_atomic64_fetch_andnot(). 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 @2673 #define arch_atomic64_fetch_andnot arch_atomic64_fetch_andnot 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2674 #endif 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2675 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2676 #endif /* arch_atomic64_fetch_andnot_relaxed */ 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2677 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2678 #ifndef arch_atomic64_fetch_or_relaxed 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2679 #define arch_atomic64_fetch_or_acquire arch_atomic64_fetch_or 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2680 #define arch_atomic64_fetch_or_release arch_atomic64_fetch_or 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2681 #define arch_atomic64_fetch_or_relaxed arch_atomic64_fetch_or 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2682 #else /* arch_atomic64_fetch_or_relaxed */ 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2683 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2684 #ifndef arch_atomic64_fetch_or_acquire 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2685 /** 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2686 * arch_atomic64_fetch_or_acquire - Atomic or with acquire ordering 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2687 * @i: value to OR 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2688 * @v: pointer of type atomic64_t 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2689 * 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2690 * Atomically OR @i with @v using acquire ordering. 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2691 * Return old value. 8148ee76cbe7ad include/linux/atomic/atomic-arch-fallback.h Paul E. McKenney 2023-05-02 2692 */ 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2693 static __always_inline s64 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2694 arch_atomic64_fetch_or_acquire(s64 i, atomic64_t *v) 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2695 { 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2696 s64 ret = arch_atomic64_fetch_or_relaxed(i, v); 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2697 __atomic_acquire_fence(); 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2698 return ret; 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2699 } 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 @2700 #define arch_atomic64_fetch_or_acquire arch_atomic64_fetch_or_acquire 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2701 #endif 37f8173dd84936 include/linux/atomic-arch-fallback.h Peter Zijlstra 2020-01-24 2702 :::::: The code at line 2673 was first introduced by commit :::::: 37f8173dd84936ea78000ed1cad24f8b18d48ebb locking/atomics: Flip fallbacks and instrumentation :::::: TO: Peter Zijlstra :::::: CC: Thomas Gleixner -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests