From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F16AC433F5 for ; Tue, 25 Jan 2022 00:15:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 3363D49B12; Mon, 24 Jan 2022 19:15:40 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sKu29TMihlzA; Mon, 24 Jan 2022 19:15:39 -0500 (EST) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id EB7F649DF6; Mon, 24 Jan 2022 19:15:38 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 8A8CF4086C for ; Mon, 24 Jan 2022 19:15:37 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFUGDSPIBKkA for ; Mon, 24 Jan 2022 19:15:36 -0500 (EST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 9B6DD49B13 for ; Mon, 24 Jan 2022 19:15:36 -0500 (EST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CF44EB81229; Tue, 25 Jan 2022 00:15:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F7BCC340E8; Tue, 25 Jan 2022 00:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643069734; bh=cINPFgKL2Ut8k3Oy2wD5fkInRC1CnwPrnusLBuDdThE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rCK1SZunrWXe+7ZyudtrRKUAZGI+kJyrnmNoVMEdUOtL/RfLAkTHpM/6MDHGdL148 sidTPKmV5jxBIUlw6SA3zLaARUWmyQTAs+aZE4vo/4g7jWdbSKgCsa3rtpgYnxqRrX 8WhlsoTEYa04CxRAaeBaKEDxoLbkoTDXuDR9oKfRv3yiPH6jEVSe4+simzqW9nTmY9 KUsZKJIB7YUurz/6wdd8vcW2+m77AXo1wZ7QRMWYRJJ5UkgZPid6TsIZpDAPbUXPql FKpcO12EfbrC87YWAjy8hSzYSA86nN6G3BMJPdpDgzeIVdBlsBBB+FusmZh2xt0zUF 9TkIWDDMu86dg== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan Subject: [PATCH v8 03/38] kselftest/arm64: Remove local ARRAY_SIZE() definitions Date: Tue, 25 Jan 2022 00:10:39 +0000 Message-Id: <20220125001114.193425-4-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220125001114.193425-1-broonie@kernel.org> References: <20220125001114.193425-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1265; h=from:subject; bh=cINPFgKL2Ut8k3Oy2wD5fkInRC1CnwPrnusLBuDdThE=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh70ADgEzITa3c+LpcX6BANIKS7MW2GTUq48+G78Hk TYKq/JWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYe9AAwAKCRAk1otyXVSH0B33B/ 4jGPTVDPXx5T6RrRQk+H/OZk4Q5FhydGJNUZltYSbxp2FS8RmrhFNNw1esXn0AlycrgQ9rwwowrbKe CiKGCDLRViQNPTdUV3LJw+Y0Vcek/EMZ8jt/V2gvTgJBPV2T81jU3c1rKM+M9EcGoZgVFkS9achgIB vFQzDbxFI+CBqoHoZKaQtIeZQf980w5QM9F8UOXwBYRrGy6upxq4ak3soifhA1pEMUtpOacjYsmfUV MZ7azYBToWAPWAZwtE3h3nIs98uAc7o2Cim8vVpB5spVWhpWWUOcRFdlia6mg3oIeb2O3NACwlYtoP gBS121Zj9RX2yGvS5iudEdvG2O3DbR X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Cc: Basant Kumar Dwivedi , Luis Machado , Szabolcs Nagy , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Alan Hayward , kvmarm@lists.cs.columbia.edu, Salil Akerkar X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu An ARRAY_SIZE() has been added to kselftest.h so remove the local versions in some of the arm64 selftests. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/abi/syscall-abi.c | 1 - tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/tools/testing/selftests/arm64/abi/syscall-abi.c b/tools/testing/selftests/arm64/abi/syscall-abi.c index d8eeeafb50dc..1e13b7523918 100644 --- a/tools/testing/selftests/arm64/abi/syscall-abi.c +++ b/tools/testing/selftests/arm64/abi/syscall-abi.c @@ -18,7 +18,6 @@ #include "../../kselftest.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) #define NUM_VL ((SVE_VQ_MAX - SVE_VQ_MIN) + 1) extern void do_syscall(int sve_vl); diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c index af798b9d232c..90ba1d6a6781 100644 --- a/tools/testing/selftests/arm64/fp/sve-ptrace.c +++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c @@ -21,8 +21,6 @@ #include "../../kselftest.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) - /* and don't like each other, so: */ #ifndef NT_ARM_SVE #define NT_ARM_SVE 0x405 -- 2.30.2 _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09606C433FE for ; Tue, 25 Jan 2022 03:35:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1325044AbiAYDfa (ORCPT ); Mon, 24 Jan 2022 22:35:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S3420488AbiAYCY2 (ORCPT ); Mon, 24 Jan 2022 21:24:28 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87815C038AEC for ; Mon, 24 Jan 2022 16:15:35 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 27F566124B for ; Tue, 25 Jan 2022 00:15:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F7BCC340E8; Tue, 25 Jan 2022 00:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643069734; bh=cINPFgKL2Ut8k3Oy2wD5fkInRC1CnwPrnusLBuDdThE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rCK1SZunrWXe+7ZyudtrRKUAZGI+kJyrnmNoVMEdUOtL/RfLAkTHpM/6MDHGdL148 sidTPKmV5jxBIUlw6SA3zLaARUWmyQTAs+aZE4vo/4g7jWdbSKgCsa3rtpgYnxqRrX 8WhlsoTEYa04CxRAaeBaKEDxoLbkoTDXuDR9oKfRv3yiPH6jEVSe4+simzqW9nTmY9 KUsZKJIB7YUurz/6wdd8vcW2+m77AXo1wZ7QRMWYRJJ5UkgZPid6TsIZpDAPbUXPql FKpcO12EfbrC87YWAjy8hSzYSA86nN6G3BMJPdpDgzeIVdBlsBBB+FusmZh2xt0zUF 9TkIWDDMu86dg== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Mark Brown Subject: [PATCH v8 03/38] kselftest/arm64: Remove local ARRAY_SIZE() definitions Date: Tue, 25 Jan 2022 00:10:39 +0000 Message-Id: <20220125001114.193425-4-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220125001114.193425-1-broonie@kernel.org> References: <20220125001114.193425-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1265; h=from:subject; bh=cINPFgKL2Ut8k3Oy2wD5fkInRC1CnwPrnusLBuDdThE=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh70ADgEzITa3c+LpcX6BANIKS7MW2GTUq48+G78Hk TYKq/JWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYe9AAwAKCRAk1otyXVSH0B33B/ 4jGPTVDPXx5T6RrRQk+H/OZk4Q5FhydGJNUZltYSbxp2FS8RmrhFNNw1esXn0AlycrgQ9rwwowrbKe CiKGCDLRViQNPTdUV3LJw+Y0Vcek/EMZ8jt/V2gvTgJBPV2T81jU3c1rKM+M9EcGoZgVFkS9achgIB vFQzDbxFI+CBqoHoZKaQtIeZQf980w5QM9F8UOXwBYRrGy6upxq4ak3soifhA1pEMUtpOacjYsmfUV MZ7azYBToWAPWAZwtE3h3nIs98uAc7o2Cim8vVpB5spVWhpWWUOcRFdlia6mg3oIeb2O3NACwlYtoP gBS121Zj9RX2yGvS5iudEdvG2O3DbR X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org An ARRAY_SIZE() has been added to kselftest.h so remove the local versions in some of the arm64 selftests. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/abi/syscall-abi.c | 1 - tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/tools/testing/selftests/arm64/abi/syscall-abi.c b/tools/testing/selftests/arm64/abi/syscall-abi.c index d8eeeafb50dc..1e13b7523918 100644 --- a/tools/testing/selftests/arm64/abi/syscall-abi.c +++ b/tools/testing/selftests/arm64/abi/syscall-abi.c @@ -18,7 +18,6 @@ #include "../../kselftest.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) #define NUM_VL ((SVE_VQ_MAX - SVE_VQ_MIN) + 1) extern void do_syscall(int sve_vl); diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c index af798b9d232c..90ba1d6a6781 100644 --- a/tools/testing/selftests/arm64/fp/sve-ptrace.c +++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c @@ -21,8 +21,6 @@ #include "../../kselftest.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) - /* and don't like each other, so: */ #ifndef NT_ARM_SVE #define NT_ARM_SVE 0x405 -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2273CC433F5 for ; Tue, 25 Jan 2022 00:18:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rap4LyU9viyIU70yX5j//2ryKnbdx/UDMKcqFSc/Q3o=; b=oSoIyZVLIRJ4Ip rX97vKXiuZmHm9iI1yq3ULflV8u5YODko6ZynDlHr72RhUiDcqI5KwKPoYgmYH84nLDK01PsoerWi RiQlhFOCZzmFklhaHmo9gSqxjrFhkL3dLELx8JIn4mF/fS2bF4ie3onNg1/hxM1SC0I0+DvxvAmRS jSwAHoF6EdwGWgaBPbYKFoDyA9P30hZ90gCS1DHMNimHT1e5v2zjzfGhC1i+1GZQYS/+ZTgeqL5Rb Muwwx5+Lu1ZWMxhTNAug0w4ElnZSp3CI7ChCn5JGBcpjmI9OXlSh6BTfoDqrqaE511CSX5ObcIOct QY/Nnznx6pvdhzXpoQ/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC9VD-005eyD-RH; Tue, 25 Jan 2022 00:16:04 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC9Un-005ern-2g for linux-arm-kernel@lists.infradead.org; Tue, 25 Jan 2022 00:15:38 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CF44EB81229; Tue, 25 Jan 2022 00:15:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F7BCC340E8; Tue, 25 Jan 2022 00:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643069734; bh=cINPFgKL2Ut8k3Oy2wD5fkInRC1CnwPrnusLBuDdThE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rCK1SZunrWXe+7ZyudtrRKUAZGI+kJyrnmNoVMEdUOtL/RfLAkTHpM/6MDHGdL148 sidTPKmV5jxBIUlw6SA3zLaARUWmyQTAs+aZE4vo/4g7jWdbSKgCsa3rtpgYnxqRrX 8WhlsoTEYa04CxRAaeBaKEDxoLbkoTDXuDR9oKfRv3yiPH6jEVSe4+simzqW9nTmY9 KUsZKJIB7YUurz/6wdd8vcW2+m77AXo1wZ7QRMWYRJJ5UkgZPid6TsIZpDAPbUXPql FKpcO12EfbrC87YWAjy8hSzYSA86nN6G3BMJPdpDgzeIVdBlsBBB+FusmZh2xt0zUF 9TkIWDDMu86dg== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Mark Brown Subject: [PATCH v8 03/38] kselftest/arm64: Remove local ARRAY_SIZE() definitions Date: Tue, 25 Jan 2022 00:10:39 +0000 Message-Id: <20220125001114.193425-4-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220125001114.193425-1-broonie@kernel.org> References: <20220125001114.193425-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1265; h=from:subject; bh=cINPFgKL2Ut8k3Oy2wD5fkInRC1CnwPrnusLBuDdThE=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh70ADgEzITa3c+LpcX6BANIKS7MW2GTUq48+G78Hk TYKq/JWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYe9AAwAKCRAk1otyXVSH0B33B/ 4jGPTVDPXx5T6RrRQk+H/OZk4Q5FhydGJNUZltYSbxp2FS8RmrhFNNw1esXn0AlycrgQ9rwwowrbKe CiKGCDLRViQNPTdUV3LJw+Y0Vcek/EMZ8jt/V2gvTgJBPV2T81jU3c1rKM+M9EcGoZgVFkS9achgIB vFQzDbxFI+CBqoHoZKaQtIeZQf980w5QM9F8UOXwBYRrGy6upxq4ak3soifhA1pEMUtpOacjYsmfUV MZ7azYBToWAPWAZwtE3h3nIs98uAc7o2Cim8vVpB5spVWhpWWUOcRFdlia6mg3oIeb2O3NACwlYtoP gBS121Zj9RX2yGvS5iudEdvG2O3DbR X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_161537_269637_9BE8C41B X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org An ARRAY_SIZE() has been added to kselftest.h so remove the local versions in some of the arm64 selftests. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/abi/syscall-abi.c | 1 - tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/tools/testing/selftests/arm64/abi/syscall-abi.c b/tools/testing/selftests/arm64/abi/syscall-abi.c index d8eeeafb50dc..1e13b7523918 100644 --- a/tools/testing/selftests/arm64/abi/syscall-abi.c +++ b/tools/testing/selftests/arm64/abi/syscall-abi.c @@ -18,7 +18,6 @@ #include "../../kselftest.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) #define NUM_VL ((SVE_VQ_MAX - SVE_VQ_MIN) + 1) extern void do_syscall(int sve_vl); diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c index af798b9d232c..90ba1d6a6781 100644 --- a/tools/testing/selftests/arm64/fp/sve-ptrace.c +++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c @@ -21,8 +21,6 @@ #include "../../kselftest.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) - /* and don't like each other, so: */ #ifndef NT_ARM_SVE #define NT_ARM_SVE 0x405 -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel