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 X-Spam-Level: X-Spam-Status: No, score=-14.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 A12BEC433ED for ; Fri, 14 May 2021 09:05:00 +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 0071861352 for ; Fri, 14 May 2021 09:04:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0071861352 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com 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:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FhwDuyrn2U9D35ueE8bGvrCIEz92W0QotDDMT6k93Sk=; b=IdO9wxXOrw5wRKPW9toVNMwSL qolG0CbyqaP4FJOvp2aSmoPAhn/jtnHnnBCaopx58SqsvyyNDUyF6BQWA+12tizwUngh5IycTHC7U 0YUESkUS9dtYgiu+LaY0RQwyPqHX0hmtN6HAlLzYPyFwTviO0jWLXYckqfc5wshmPYMpyHFkLqh2w 2AGg1M7oQrmpSz+5XJTky84zzd9Ez3Q07vBqUtcTqm+E0z1ZcOhGTYgM5rmVzM6zoWPsnpYIqQuBK QpZnvujeRE1U3mhkCPd7ELyETUSrenoCpWc/4misV+CN/ky4YT+0IBmjmUx7t3AhZBFhS8YVYDneR QGhIGHNtg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhTj3-007Zzs-UB; Fri, 14 May 2021 09:03:18 +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 1lhTj1-007ZzU-AO for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 09:03:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hm6jRqClmC4rVRaiD7d7zTb0E35AjExK+thFxiDo1y4=; b=VopeWhrWwI3o+aJTeDbM1ILrBV zosjBexQV7+2EYsRCwd1d1w+KGnIar7C6SA1qWiyZWb/wXfyFVSvq6x3n3LxSbXoOh1R3ux97SnyI Mqt/XQZq+38jVgTTiUJahtBo6TKNJuj+kU7ij+Sqi3mAzO8rFOtzY0O+hurbP81Bbr2aM+yOc9MfF IsA6XXbEjgv5tF8TNNRXEgEaofxT4/mZTrU7F+6oJfuHibaVuAz54tBWFXSFc6qiJhj0Ir4uWiJ1i jfVRbW/gYS0GU+4QdbpdbzDbsQPeIGZj5gDVksrQE+4y5nb+cx8fTHaSMAg27YiXl1+/PG5DY1EGv +bFc1DiQ==; Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhTiy-00BqG1-Sl for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 09:03:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620982992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hm6jRqClmC4rVRaiD7d7zTb0E35AjExK+thFxiDo1y4=; b=c0ii9evUYliBVsnXIHgSlPWfKyM5yzVGt6xZDPVpkhDcaWvSU/41m+m/7O2Rpgvzk58pJl XoubOt51dHS/PjYSWDPucxSZ/OJVqVkBVpXucMghjISpMEkXszBrmlVD894eMrnT5qokqF /UXqmpnrjp9//dJmF2IGJgt799rr4+0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-407-fhytkV-xOk6Z0ar6IoKp6g-1; Fri, 14 May 2021 05:03:08 -0400 X-MC-Unique: fhytkV-xOk6Z0ar6IoKp6g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 37BEE801B13; Fri, 14 May 2021 09:03:06 +0000 (UTC) Received: from krava (unknown [10.40.193.71]) by smtp.corp.redhat.com (Postfix) with SMTP id A7DBA5C8AA; Fri, 14 May 2021 09:03:02 +0000 (UTC) Date: Fri, 14 May 2021 11:03:01 +0200 From: Jiri Olsa To: Rob Herring Cc: Arnaldo Carvalho de Melo , 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 , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH 2/2] perf tests: Drop __maybe_unused on x86 test declarations Message-ID: References: <20210513174614.2242210-1-robh@kernel.org> <20210513174614.2242210-2-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210513174614.2242210-2-robh@kernel.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_020313_012168_5716597B X-CRM114-Status: GOOD ( 18.43 ) 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 On Thu, May 13, 2021 at 12:46:14PM -0500, Rob Herring wrote: > Function declarations don't need __maybe_unused annotations, only the > implementations do. Drop them on the perf x86 tests. for both patches: Acked-by: Jiri Olsa thanks, jirka > > 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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel