Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6211345rwp; Mon, 17 Jul 2023 17:34:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlEUnIEZGqpcPvOp2FNvJPWYdx/w6Ll2v1phMoDaEuOtwiQVz6JTqQb+IlgYUeZiJAnwEh25 X-Received: by 2002:a54:4f93:0:b0:3a3:f45b:aa3d with SMTP id g19-20020a544f93000000b003a3f45baa3dmr14301284oiy.39.1689640459234; Mon, 17 Jul 2023 17:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689640459; cv=none; d=google.com; s=arc-20160816; b=qH+te01DP1mMsSpxLBevY2vLkf0+PzBBoNbYm07X7QhN/G1xaoLecvoHSFNcJogGgv 0At+ACPL2GHtdzYqwozp5xam4x1gaOxAiNLcgYU1147uFgR3cYxs8nv7Tr+BnV8ataRB DHDT3QtvIlvsQeXIhFZbo0w9dsCNgdCrTdKfQZnxDouW6dXFWQRVzWiUmuqZPLcskIIX LqAthl8RKDH4RKq/35BlbNDtht0pwCURReYCPrK3gYP1nZ5kWCIr0OIUmxCpxaZ3oFwF 8oTApU/3oeAbzP+eVGgl7OeIHO3xV5UNmEYNhY0zwezqBQ2DWiSFuPsHlF02cd50sCFb 3h1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=2rJryBbBuEudGvHbXHROzk2M+u1hbo1A1vezElOeJQ0=; fh=/xgpBMFhxSN0P1R05ihPxN3AlRQayAgn0toomT8B8Zw=; b=WRnzrhrqvY0p3N8OgN2k5hQKHq3HFDs7bIzR7xXGywjb9dTgpMzF3wa711fm3J0n5N 0ec28OS4CjmVRsey9SR4VZv9JsizquuZCrNL7TBtlm+zomki1Dw+c8vyw+oJ5O69bPwX yY4ghPkc+hKmTUF/iF4y0MTZokJDi1odeCPb1RtBMUETzEpcRsDvnnINkxy8gmQkAj4r KrXJ6UzvQK8lcj/ZF5YdOtJHIJelVUnIBSDOSya0HciCJKaK8R/JFE84I9Grqar9AJgu cV7tEDuCktZXd5r6rma79Xrt99IwtW3L3FAXa/X3BtihEnh4AOJE6mv15IC0lA5SuBu9 lJ7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=JfWkf9x0; 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=canb.auug.org.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020a631a02000000b0051b1966e6b6si607268pga.521.2023.07.17.17.34.06; Mon, 17 Jul 2023 17:34:19 -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=@canb.auug.org.au header.s=201702 header.b=JfWkf9x0; 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=canb.auug.org.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230360AbjGRADJ (ORCPT + 99 others); Mon, 17 Jul 2023 20:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjGRADH (ORCPT ); Mon, 17 Jul 2023 20:03:07 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A47E7FB; Mon, 17 Jul 2023 17:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1689638579; bh=2rJryBbBuEudGvHbXHROzk2M+u1hbo1A1vezElOeJQ0=; h=Date:From:To:Cc:Subject:From; b=JfWkf9x0oiee18GUonQle3OgyVv4BF6aTm5/BYGXBw3bk8S9HO1uWPRfL0d3Blxbh 00KrJczuS48Z5t/n/lAEm3/Vpzz63LyrqgEGVq0hQZP6U5vWt4OQ+R7LUMTZ4hi+mS xEIotaJ6eHWkZPuU6pCo330FwueslWzxD86B6mrAUM6XP2mm+17ueTU2PymVLycUbZ rrgrIJNRC9bT8E9s4P4mlyW1yRJLtgegFK2VvzVlQFsyuBAZvhU1H/OLLKM1CeIFj6 iVqWTYcXwboktSbcr9C/PmYQ45/SJfgSNZgGMtyC1IvJ1cdZK0YjBmmiLplAHdvnf9 lvLSqgIaE2Opg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4R4fKZ5xktz4wb0; Tue, 18 Jul 2023 10:02:58 +1000 (AEST) Date: Tue, 18 Jul 2023 10:02:57 +1000 From: Stephen Rothwell To: Andrew Morton Cc: Andy Shevchenko , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the mm tree Message-ID: <20230718100257.1ed9290e@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/T.R3Mt1SR3+YabFEHW4FJpQ"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, 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 --Sig_/T.R3Mt1SR3+YabFEHW4FJpQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the mm tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from include/linux/arm-smccc.h:8, from arch/arm/mm/proc-v7-bugs.c:2: arch/arm/mm/proc-v7-bugs.c: In function 'spectre_v2_get_cpu_fw_mitigation_s= tate': include/linux/arm-smccc.h:485:29: error: '__declare_arg_3' undeclared (firs= t use in this function) 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in definition of macro '__CONCAT' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/arm-smccc.h:485:17: note: in expansion of macro 'CONCATENATE' 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:485:29: note: each undeclared identifier is repor= ted only once for each function it appears in 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in definition of macro '__CONCAT' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/arm-smccc.h:485:17: note: in expansion of macro 'CONCATENATE' 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:417:38: error: 'arg0' undeclared (first use in th= is function); did you mean 'r0'? 417 | #define __constraint_read_0 "r" (arg0) | ^~~~ include/linux/arm-smccc.h:418:33: note: in expansion of macro '__constraint= _read_0' 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:420:33: note: in expansion of macro '__constraint= _read_2' 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:418:59: error: 'arg1' undeclared (first use in th= is function); did you mean 'r1'? 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:420:33: note: in expansion of macro '__constraint= _read_2' 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:59: error: 'arg2' undeclared (first use in th= is function); did you mean 'r2'? 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~ include/linux/arm-smccc.h:420:33: note: in expansion of macro '__constraint= _read_2' 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:420:59: error: 'arg3' undeclared (first use in th= is function); did you mean 'r3'? 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:492:21: error: '___res' undeclared (first use in = this function) 492 | if (___res) = \ | ^~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:17:9: note: in expansion of macro 'arm_smccc_1_1= _invoke' 17 | arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID, | ^~~~~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c: In function 'call_smc_arch_workaround_1': include/linux/arm-smccc.h:485:29: error: '__declare_arg_2' undeclared (firs= t use in this function) 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in definition of macro '__CONCAT' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/arm-smccc.h:485:17: note: in expansion of macro 'CONCATENATE' 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:510:33: note: in expansion of macro '__arm_smccc_= 1_1' 510 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:58:9: note: in expansion of macro 'arm_smccc_1_1= _smc' 58 | arm_smccc_1_1_smc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:417:38: error: 'arg0' undeclared (first use in th= is function); did you mean 'r0'? 417 | #define __constraint_read_0 "r" (arg0) | ^~~~ include/linux/arm-smccc.h:418:33: note: in expansion of macro '__constraint= _read_0' 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 2' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:510:33: note: in expansion of macro '__arm_smccc_= 1_1' 510 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:58:9: note: in expansion of macro 'arm_smccc_1_1= _smc' 58 | arm_smccc_1_1_smc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:418:59: error: 'arg1' undeclared (first use in th= is function); did you mean 'r1'? 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 2' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:510:33: note: in expansion of macro '__arm_smccc_= 1_1' 510 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:58:9: note: in expansion of macro 'arm_smccc_1_1= _smc' 58 | arm_smccc_1_1_smc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:59: error: 'arg2' undeclared (first use in th= is function); did you mean 'r2'? 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 2' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:510:33: note: in expansion of macro '__arm_smccc_= 1_1' 510 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:58:9: note: in expansion of macro 'arm_smccc_1_1= _smc' 58 | arm_smccc_1_1_smc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:492:21: error: '___res' undeclared (first use in = this function) 492 | if (___res) = \ | ^~~~~~ include/linux/arm-smccc.h:510:33: note: in expansion of macro '__arm_smccc_= 1_1' 510 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:58:9: note: in expansion of macro 'arm_smccc_1_1= _smc' 58 | arm_smccc_1_1_smc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c: In function 'call_hvc_arch_workaround_1': include/linux/arm-smccc.h:485:29: error: '__declare_arg_2' undeclared (firs= t use in this function) 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in definition of macro '__CONCAT' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/arm-smccc.h:485:17: note: in expansion of macro 'CONCATENATE' 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:63:9: note: in expansion of macro 'arm_smccc_1_1= _hvc' 63 | arm_smccc_1_1_hvc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:417:38: error: 'arg0' undeclared (first use in th= is function); did you mean 'r0'? 417 | #define __constraint_read_0 "r" (arg0) | ^~~~ include/linux/arm-smccc.h:418:33: note: in expansion of macro '__constraint= _read_0' 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 2' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:63:9: note: in expansion of macro 'arm_smccc_1_1= _hvc' 63 | arm_smccc_1_1_hvc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:418:59: error: 'arg1' undeclared (first use in th= is function); did you mean 'r1'? 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 2' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:63:9: note: in expansion of macro 'arm_smccc_1_1= _hvc' 63 | arm_smccc_1_1_hvc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:59: error: 'arg2' undeclared (first use in th= is function); did you mean 'r2'? 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 2' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:63:9: note: in expansion of macro 'arm_smccc_1_1= _hvc' 63 | arm_smccc_1_1_hvc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:492:21: error: '___res' undeclared (first use in = this function) 492 | if (___res) = \ | ^~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ arch/arm/mm/proc-v7-bugs.c:63:9: note: in expansion of macro 'arm_smccc_1_1= _hvc' 63 | arm_smccc_1_1_hvc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL); | ^~~~~~~~~~~~~~~~~ make[5]: *** [scripts/Makefile.build:243: arch/arm/mm/proc-v7-bugs.o] Error= 1 make[4]: *** [scripts/Makefile.build:477: arch/arm/mm] Error 2 make[3]: *** [scripts/Makefile.build:477: arch/arm] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from include/linux/arm-smccc.h:8, from drivers/char/hw_random/arm_smccc_trng.c:20: drivers/char/hw_random/arm_smccc_trng.c: In function 'smccc_trng_read': include/linux/arm-smccc.h:485:29: error: '__declare_arg_3' undeclared (firs= t use in this function) 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in definition of macro '__CONCAT' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/arm-smccc.h:485:17: note: in expansion of macro 'CONCATENATE' 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:485:29: note: each undeclared identifier is repor= ted only once for each function it appears in 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in definition of macro '__CONCAT' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/arm-smccc.h:485:17: note: in expansion of macro 'CONCATENATE' 485 | CONCATENATE(__declare_arg_, COUNT_ARGS(__VA_ARGS__)= ); \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:417:38: error: 'arg0' undeclared (first use in th= is function); did you mean 'r0'? 417 | #define __constraint_read_0 "r" (arg0) | ^~~~ include/linux/arm-smccc.h:418:33: note: in expansion of macro '__constraint= _read_0' 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:420:33: note: in expansion of macro '__constraint= _read_2' 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:418:59: error: 'arg1' undeclared (first use in th= is function); did you mean 'r1'? 418 | #define __constraint_read_1 __constraint_read_0, "r" (arg1) | ^~~~ include/linux/arm-smccc.h:419:33: note: in expansion of macro '__constraint= _read_1' 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:420:33: note: in expansion of macro '__constraint= _read_2' 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:419:59: error: 'arg2' undeclared (first use in th= is function); did you mean 'r2'? 419 | #define __constraint_read_2 __constraint_read_1, "r" (arg2) | ^~~~ include/linux/arm-smccc.h:420:33: note: in expansion of macro '__constraint= _read_2' 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:420:59: error: 'arg3' undeclared (first use in th= is function); did you mean 'r3'? 420 | #define __constraint_read_3 __constraint_read_2, "r" (arg3) | ^~~~ include/linux/args.h:25:24: note: in expansion of macro '__constraint_read_= 3' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/arm-smccc.h:489:32: note: in expansion of macro 'CONCATENATE' 489 | : CONCATENATE(__constraint_read_, = \ | ^~~~~~~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ include/linux/arm-smccc.h:492:21: error: '___res' undeclared (first use in = this function) 492 | if (___res) = \ | ^~~~~~ include/linux/arm-smccc.h:526:33: note: in expansion of macro '__arm_smccc_= 1_1' 526 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __V= A_ARGS__) | ^~~~~~~~~~~~~~~ include/linux/arm-smccc.h:563:25: note: in expansion of macro 'arm_smccc_1_= 1_hvc' 563 | arm_smccc_1_1_hvc(__VA_ARGS__); = \ | ^~~~~~~~~~~~~~~~~ drivers/char/hw_random/arm_smccc_trng.c:73:17: note: in expansion of macro = 'arm_smccc_1_1_invoke' 73 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND, bits, &res= ); | ^~~~~~~~~~~~~~~~~~~~ Presumably caused by commits 93e9856955f8 ("kernel.h: split out COUNT_ARGS() and CONCATENATE() to args= .h") fceebffabbb6 ("arm64: smccc: replace custom COUNT_ARGS() & CONCATENATE() = implementations") I have used the mm tree from next-20230717 for today. --=20 Cheers, Stephen Rothwell --Sig_/T.R3Mt1SR3+YabFEHW4FJpQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmS11rEACgkQAVBC80lX 0GwsPQf9E1lFuQ/NbqcR6xRPue9a90H4FWot0ew6EOdM6ziS+hxQTu7p4++wGI4A /H4H2cvYhJxg6O3LTLPGX98s9NyoYlkRXBZzPfACwDO7iPrjcRAo57+Mo08Ph+Ww Z5TCUwyyE2EU7j/SOqt8Lq/eLtwyvCryHEOGMFyE4J5yUn9tMsfukSe3u+/612wn UskZQb/cGAe1Pud/QnTxLyo4vRDcYdxniPNA6dfJoivskvjr/lvrBTHZQAE8A/JM 9z9b5OF3E+b/cmT3h1w5dsfCxQ0DWtZVA4PWuYaNQh8QretS5v6foYxeDi/Lo5aZ HjvjtpMZU11G5KBIwQtWu1g2qi6zaA== =QjNp -----END PGP SIGNATURE----- --Sig_/T.R3Mt1SR3+YabFEHW4FJpQ--