Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp99552pxj; Thu, 13 May 2021 22:23:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoRZ+80yNGV7e6NxyWSoRuyaCOGk+fTa8b+mnNAwsY6uNb3T3DT7qxkVWkrSYXV7QIf44m X-Received: by 2002:a05:6e02:dec:: with SMTP id m12mr38609192ilj.288.1620969796791; Thu, 13 May 2021 22:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620969796; cv=none; d=google.com; s=arc-20160816; b=tB8SqH2DKCQuOKZiy/72lqSx6lE/YJESAAYXIM9QIqC0cItxI2vWuQT/hGSLcuolt4 ITinsQfcYWu/xgX0JPdYg80qQ09NwTeiisUylnF+qU+Q6OYHE16nWlZ6ZlmH9nHh4zyG 39jsvyW4aFh6xEyk41hk7X0XJqWd2o5vvJxtGAyW1m2dkMqg87LVuaaQfH3vNtKzxYDe KN1TJhufKwP4g084oZ1bjIGwJFEz+PPT0JD+l7nVEaxMmBq+Xe/sEsCrnbbfHp0DdWsQ St81PI9rACQsx9N2Pw0NVIPg7qVPQAGaHZLuumqwcqojdkHfmFmWle4iw1j9aYONuItI uL8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=qtMRaGidq5AIIb5NEfzMSRmyxAUVpPVeHx2ahJS34Sw=; b=ZtxOWO0JYYAxjBAcsdLqIYpAYSPTKBLr+prsGs9wtk602QYkf57vgCJ89JVcySexC9 C41vEvL6KNHt8q2Yf7QiSFxZ3cnzY90rpvSGpb148lnYiyzNJDcrTdlMhoxWcXqcPPUL 2DZLrITIASDA7s507LoAxrQomuaXHjkfSPsKv8x1LLYNTDInugX88BF4yf4jfEJK/7kp ZY7jehwL89/O0uIX9Y2H/rIpI7CDLZlOeKbEQ2EQ78cruQgI9Ms1AgksD/pgxN3KT/8p 5BVAVhRnqhSnd2eKjUs5RyJfi5sKv47HVe4L0HZDcBN/UWw0Goh+oSggX88dVMf03H0H DVQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si7214233jak.0.2021.05.13.22.23.04; Thu, 13 May 2021 22:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231285AbhEMRrd (ORCPT + 99 others); Thu, 13 May 2021 13:47:33 -0400 Received: from mail-oi1-f173.google.com ([209.85.167.173]:42596 "EHLO mail-oi1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbhEMRr2 (ORCPT ); Thu, 13 May 2021 13:47:28 -0400 Received: by mail-oi1-f173.google.com with SMTP id w22so12175807oiw.9; Thu, 13 May 2021 10:46:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qtMRaGidq5AIIb5NEfzMSRmyxAUVpPVeHx2ahJS34Sw=; b=VFqb8jRH5S0P9IP6YlKpF69niCSdHokrPRz1A2LPqma+X+YtRSz3t6vD44viA3jMov 9A35nBcruyKnE22cr92P7VJgxTpNFCEnhV4v2JN39CVtWBV4wTghWn1cSzWTstnDmY4U HCqgYqLsv5PINCd2Lrx4AIeiStrYjeS4OKnkm0CcmMHeHinZSJQ4LtEZemYeVHSwln3S phyqFeQSxkJbi+L9uSKGGL/GjT1hmxnIXiBevk5OAS0QPtNDtY9AC8pAseOakcYmv3es Qja9K6X4bwwDmS/jVv9411FMbOzS+Mq0+ESQwYyficrFJNDzqO8gcl8fDgDMmFho3LMh 9y3w== X-Gm-Message-State: AOAM532M7G1SrHXXnkEeQ+IeFal4Mj0WrYPruR6Es50y9cvAIyit5Orb gmhUt0azyqyrTUSlzGrB+w== X-Received: by 2002:aca:5758:: with SMTP id l85mr4047077oib.120.1620927977614; Thu, 13 May 2021 10:46:17 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id r7sm799574oom.46.2021.05.13.10.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 10:46:17 -0700 (PDT) From: Rob Herring To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Matt Fleming , Masayoshi Mizuma , John Garry , Will Deacon , Mathieu Poirier , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org Subject: [PATCH 2/2] perf tests: Drop __maybe_unused on x86 test declarations Date: Thu, 13 May 2021 12:46:14 -0500 Message-Id: <20210513174614.2242210-2-robh@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210513174614.2242210-1-robh@kernel.org> References: <20210513174614.2242210-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function declarations don't need __maybe_unused annotations, only the implementations do. Drop them on the perf x86 tests. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: linux-perf-users@vger.kernel.org Signed-off-by: Rob Herring --- tools/perf/arch/x86/include/arch-tests.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/perf/arch/x86/include/arch-tests.h b/tools/perf/arch/x86/include/arch-tests.h index 462546bfc5f7..9599e7a3f1af 100644 --- a/tools/perf/arch/x86/include/arch-tests.h +++ b/tools/perf/arch/x86/include/arch-tests.h @@ -2,12 +2,11 @@ #ifndef ARCH_TESTS_H #define ARCH_TESTS_H -#include struct test; /* Tests */ -int test__rdpmc(struct test *test __maybe_unused, int subtest); -int test__insn_x86(struct test *test __maybe_unused, int subtest); +int test__rdpmc(struct test *test, int subtest); +int test__insn_x86(struct test *test, int subtest); int test__intel_pt_pkt_decoder(struct test *test, int subtest); int test__bp_modify(struct test *test, int subtest); int test__x86_sample_parsing(struct test *test, int subtest); -- 2.27.0