From patchwork Thu May 13 17:46:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 12256137 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD870C433B4 for ; Thu, 13 May 2021 17:48:27 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5C09261106 for ; Thu, 13 May 2021 17:48:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C09261106 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=ES0FalhPH+vTv+ZZzXNoWKOqHSWtwMnCmHuCd9kYdY4=; b=GV8aYTy3OQZFTC7D/PnxD9ZX4 jFbzN6y8AyTIGeNzJITB32hcw4gRA81CqY41HsqaaTXOLC23iP9V/RugnqTG/5BrX8YYMTQPTkkS0 EJrmPkBCPxoq2ryn+KfSmzLzAH4PXc61JISCPQ8LHl0LNPXS7+liif2meyCLQ+Iojs7EcJuxP8iSv J5ZeeMHVAGR1umq25ydRXA9hgjG66MfDWrSa+yRKTbKfwe7TllOhQGJktJileKe7LrMNdb0ymF71c wSR+o6l+UBP2tGa+SpHjXCzIDjCXxFYPKsR+DJWzGqbdb7b8TZehe6gfyvXgwxwhp6THsXpWuZEJu NM74H2V8g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhFPs-0065xw-BV; Thu, 13 May 2021 17:46:32 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhFPh-0065xR-0X for linux-arm-kernel@desiato.infradead.org; Thu, 13 May 2021 17:46:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=qtMRaGidq5AIIb5NEfzMSRmyxAUVpPVeHx2ahJS34Sw=; b=NLp3RhkYi1FCHClf+ZPFUjk6rf qp9pXGp11ew4Ns7wyDVdSCiECM4+g/DnElLeTJr2xznb++qYaUcPtItzVjfADfW64o+twrAA13oXY K5qz3aZW0iJhD9jb56ZNLIO/DKgANArB7Kufroi2gkohfgO0a93S1f26wrRDphgO7kdimje2x/g84 F/2/c8BvzELS1Gb2Yicxgb2e8n0uITxiMKnsyW+5JUhEyr9CcOSURPiEN4oqn1MhzKKTPA2gS4wqb MuMPrNqSvlcgBcl7a7bXDZ0Ii49fDsKIgDEz3Nz9IVx9BMOBlz7SuD/Af8XhOxmEzmqQxT79ZPh7v mYlpPrYg==; Received: from mail-oi1-f179.google.com ([209.85.167.179]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhFPe-00BQQO-I8 for linux-arm-kernel@lists.infradead.org; Thu, 13 May 2021 17:46:19 +0000 Received: by mail-oi1-f179.google.com with SMTP id c3so26002847oic.8 for ; Thu, 13 May 2021 10:46:18 -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=OedoudDLV+okMdyV+URyzm89YCXxbGfdDZKK0QYEZ0/j7ciSkQKyW/qnFEqP+WmX0N oQ2A6KzrJjTEaXfdLMu6qMj2XXnRdP0/wmoLWAckTMxdW47hmsLyGSLUFcueLp5mnD64 33qOR//TDKSb7H8oUQDJ5+IITWx7tHQgcJL7S6lxjPW4LY7llce13kzwh1HydRezBFP4 FFUg0H/rwnBpZCau4x8hX7ZLdD6SXIdHOhsLrTMtAf6503GrQGWD2pURPBjV/O2uKNEU S3yskpkXErXoW0xU590bCrTi0vpxpoyOlPuzgpvY85275Oy2b8q44lorEmp3OLZPKItV eDMw== X-Gm-Message-State: AOAM532D1HK4Xu3mGzdDlHWe5Bs0llmXxtKgYTRaRbTOMrpok05WbXjB rugyiJ9vvHZZWCZnRl/aUQ== X-Google-Smtp-Source: ABdhPJwuMdqfKqn9iX2iIR2PPwGy55N98LKN3VvKhFptsqRWnJyzDnOhEEPv9Vyxo+12EJy9VC8Ugw== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210513_104618_616107_E93250E7 X-CRM114-Status: GOOD ( 12.25 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Acked-by: Jiri Olsa --- 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);