Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5436282rwr; Tue, 9 May 2023 01:08:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EIVeIImwT5kVAgq0OR4koA2sdQQomeNo1p5XoIcw157e+g3uH7bGGn0eBxWXOq4sZpCKO X-Received: by 2002:a05:6a20:3ca2:b0:100:68fe:a423 with SMTP id b34-20020a056a203ca200b0010068fea423mr7971404pzj.58.1683619727067; Tue, 09 May 2023 01:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683619727; cv=none; d=google.com; s=arc-20160816; b=yuroXu9M+vGktBECkWfHiUbo+n3R2zbRnkwnClZKOo7bhvVZg6rzUB8shohU/Rw1Ae Ud3kTKfMVlB3pH524zx717/8848c2qnEg7cDGzTmXxdM9G8bRXc0nXSNS0dHGHWu3j3T Y1qY81qTcQMUdqQOGXpoHGVEyE840NFmBDGF3t14uCrglJURhnByaZLtAWWs6O+hl6/D QoL/fwu5BUxuhzR7ztOwucOPZsAGlucgROAJZPiJbh5Nui/LBsrZGhcC8U7vyZ2lt/aU kJKP0iPdUB/xNHknJbaQWyAL45M8us7lCzbZz4diuETMFEKdzsYHEDaHCMwxGyrlhrdU zUug== 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 :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature; bh=Mjr4LZe20BBq8xKYad8DiudovL8rHYHNA4qPtUcXxbY=; b=dFuvwKzZ5RXiZ/zE9gh0arhD7KbyKiCr79mSITB2cPxcfwD5/1fZDxU83ZU6H/bNTv zLpwD1XhTkS31PwcIxDBLXKS3DxTGd49xIgzfe3quI2QqKPXBgHdvL5KHS43ljRVXRjw hqs4D+DnhfC7mQe/o0Q0NbE2VLSY8LsNypdXeW/XicUmdLJmPxwKhAO9fYqWFH89ne1/ THPTJbIKl/No9wvC6ocaXNPMtllfwB+HwiB1D9b4QqtUq5T+EfQZViz0+pDY++0bNLaa sVrvMkO0ZQArpa6JLEvSN2uujQUlV8SVG5vObXz20Il1OsKJ75loy86PYPY4UxNbKSq5 kmwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YbUKH1eF; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020aa796f1000000b0063b1739532esi1917516pfq.139.2023.05.09.01.08.28; Tue, 09 May 2023 01:08:47 -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=@kernel.org header.s=k20201202 header.b=YbUKH1eF; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233852AbjEIH7X (ORCPT + 99 others); Tue, 9 May 2023 03:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234658AbjEIH7H (ORCPT ); Tue, 9 May 2023 03:59:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C39BAAD0E for ; Tue, 9 May 2023 00:57:40 -0700 (PDT) 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 D1428644DC for ; Tue, 9 May 2023 07:56:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05131C433D2; Tue, 9 May 2023 07:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683618990; bh=Wd8Bj8emXZqkveQu4K7hNYr5Jv+UrU1Q7duR/S6Ekzs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YbUKH1eFtrCM+scAUYSDkZzJywiSiGS4/OPTRbYelydqtZFho53jtiy+d0UfTjXLF PP0Wb3mKAHEyaKnBaInUceG++mCmIGMoMUnRZbSKEX8zSrSlcd/Aj31dzjCLHJWqey qaxljpLdqXNnVD2Y4JPJKZrO3uMLq5lp2Dp+p6Ws2lPPzlzPxbAwpfyEvt+dL2vfIu +ZXqj6ORD++eADINlUmkXBaLNAMiMnJ00n+2bHwI6zEpUS5F8MOZZQeSdqSsIEpJ+j UQMhISvxG/TG2UGTnNKEGYCPsPrQ87rmLD84c6t5NylBo33MA0TnvsaL9OrJRNAHy4 ZyZtirgfu2afw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pwICx-00Dp6F-Kp; Tue, 09 May 2023 08:56:27 +0100 Date: Tue, 09 May 2023 08:56:27 +0100 Message-ID: <861qjqndjo.wl-maz@kernel.org> From: Marc Zyngier To: Geert Uytterhoeven Cc: Russell King , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ARM: perf: Mark all accessor functions inline In-Reply-To: <3a7d9bc7470aa2d85696ee9765c74f8c03fb5454.1683561482.git.geert+renesas@glider.be> References: <3a7d9bc7470aa2d85696ee9765c74f8c03fb5454.1683561482.git.geert+renesas@glider.be> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: geert+renesas@glider.be, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, 08 May 2023 17:05:18 +0100, Geert Uytterhoeven wrote: >=20 > When just including : >=20 > arch/arm/include/asm/arm_pmuv3.h:110:13: error: =E2=80=98write_pmevty= pern=E2=80=99 defined but not used [-Werror=3Dunused-function] > 110 | static void write_pmevtypern(int n, unsigned long val) > | ^~~~~~~~~~~~~~~~ > arch/arm/include/asm/arm_pmuv3.h:103:13: error: =E2=80=98write_pmevcn= trn=E2=80=99 defined but not used [-Werror=3Dunused-function] > 103 | static void write_pmevcntrn(int n, unsigned long val) > | ^~~~~~~~~~~~~~~ > arch/arm/include/asm/arm_pmuv3.h:95:22: error: =E2=80=98read_pmevcntr= n=E2=80=99 defined but not used [-Werror=3Dunused-function] > 95 | static unsigned long read_pmevcntrn(int n) > | ^~~~~~~~~~~~~~ >=20 > Fix this by adding the missing "inline" keywords to the three accessor > functions that lack them. >=20 > Fixes: 009d6dc87a568db6 ("ARM: perf: Allow the use of the PMUv3 driver on= 32bit ARM") > Signed-off-by: Geert Uytterhoeven Reviewed-by: Marc Zyngier M. --=20 Without deviation from the norm, progress is not possible.