From patchwork Thu Feb 3 18:01:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 12734538 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 CDC1EC433EF for ; Thu, 3 Feb 2022 18:06:58 +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: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:In-Reply-To:References: List-Owner; bh=wtcb4idiwAMo+LSe32vN5dKbwyWMoyPyOLYgFhOZmrw=; b=hTJLYWCV29pcyV cG3sPF05OUNrkrNsYGUTK0tz8Wl6v1jB/CJCXASKwoDKNGTXaALp+h0yr/CogJefG8aSniyozTbDl Qjt4/uTwCVFKcLoq2RXEeyqZgm4I2dkVfgmREPupsNYQOiHxmmILYh7CEh9/xH3tJpueiQ9ovFSR/ vxjkcHAncbUQzoWZp/WoqKKe0EDx0ngMegMudmDQlUIioZzC10OELIJ4onhHqqfsg7iNe+k5YILum 6s8zqq3fHBt+1AwOEPALm/zV64SJujc3eiPfdzNO/E1MQhZoSfWPJZJN0wl2PsFlKoZyb2k/6x0h0 066tXQY8U6yXymjMCVcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFgU8-002RWu-NS; Thu, 03 Feb 2022 18:05:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFgQ7-002PoO-OL for linux-arm-kernel@lists.infradead.org; Thu, 03 Feb 2022 18:01:26 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 51C78147A; Thu, 3 Feb 2022 10:01:22 -0800 (PST) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CC7253F40C; Thu, 3 Feb 2022 10:01:21 -0800 (PST) From: Robin Murphy To: will@kernel.org Cc: linux-arm-kernel@lists.infradead.org Subject: [PATCH] perf/arm-cmn: Make arm_cmn_debugfs static Date: Thu, 3 Feb 2022 18:01:18 +0000 Message-Id: X-Mailer: git-send-email 2.28.0.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220203_100123_871140_D7232560 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. 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 Indeed our debugfs directory is driver-internal so should be static. Reported-by: kernel test robot Signed-off-by: Robin Murphy Reviewed-by: Anshuman Khandual --- drivers/perf/arm-cmn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/perf/arm-cmn.c b/drivers/perf/arm-cmn.c index 0e48adce57ef..d0e1ce2c83ba 100644 --- a/drivers/perf/arm-cmn.c +++ b/drivers/perf/arm-cmn.c @@ -353,7 +353,7 @@ static struct arm_cmn_node *arm_cmn_node(const struct arm_cmn *cmn, return NULL; } -struct dentry *arm_cmn_debugfs; +static struct dentry *arm_cmn_debugfs; #ifdef CONFIG_DEBUG_FS static const char *arm_cmn_device_type(u8 type)