Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp631230ybz; Wed, 15 Apr 2020 15:31:39 -0700 (PDT) X-Google-Smtp-Source: APiQypIVhYW9t343LWNDgwN3M17SvrZXTpBRMEr9Y08oqJ5JvgMYA1IvIotCTGvZLO+cW/scsOZK X-Received: by 2002:a50:8c01:: with SMTP id p1mr27410064edp.4.1586989899600; Wed, 15 Apr 2020 15:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586989899; cv=none; d=google.com; s=arc-20160816; b=fQWIBOmOAlj0o73tXY4iB5ZEjTpFawXvZ8VPa8Jz1M/Vz9mdsbck2SJym3H0UM0djb +BkDCZoxY+agbNdef/dbn3yaue3z1ucFyxZ21YbEtdeq58cAghhqp1a6oS+RDWzR5B3X PPnbDnwXJI4ZWuViFZi8K1+d+uOgJQDFQKvM7FwiV1SoMw8BmLTKnMrHCpN04rmq61V0 0K6KnHza2iLmVaoRM+4gKQX5DRp7mj1g05+hTUtbTadAFOjahXC251KiQpLqw92z1PJi SG3oDpHuOPDTlrEFZNFuoj7DlnwLDB+x5vfNUP1/HhtKDOs+QVEgIxfDcI2FH/pMFFHY i49w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tZ1fH48EspJ3bA+CokN+S2tUA7zVR8FlOWILu4tC/qo=; b=GgYXhGND7Xrdygk/ucDu/uIOL9twdlVguLK6UU4jphj85smedH+7i+A9PdO2Jfz+/I OyFQb8UAkzQnFmBn3JZh2ASPWEp4om32Jas1K20anOBmcd9KPcdIyaw6VtYY+1puaKJ8 iJ9E2d0UbV8qOrU4MFd+pZOw2DlNrnIRjwBh7s+hVvhSCbQVtSE+vHQcmRg/kKmRvY8h t6T4LQTDDImfWCE/rYBCBQ/hCooSghFjzNPpL5IXpwCcpbBzR8HxeJvHb7TOXSosYERR kgDwovTtEV404PHMmKSk2aLvWqSLlOBv7OGr/iGJAWqfR7O/BJrgDvy3rIysIZkqdrUw V7xQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si12830232edp.153.2020.04.15.15.31.16; Wed, 15 Apr 2020 15:31:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635760AbgDOIRA (ORCPT + 99 others); Wed, 15 Apr 2020 04:17:00 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:34514 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2635729AbgDOIQ5 (ORCPT ); Wed, 15 Apr 2020 04:16:57 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 728E89E13340D9F954CC; Wed, 15 Apr 2020 16:16:55 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Wed, 15 Apr 2020 16:16:44 +0800 From: Jason Yan To: , , , CC: Hulk Robot Subject: [PATCH] firmware: xilinx: make firmware_debugfs_root static Date: Wed, 15 Apr 2020 16:43:11 +0800 Message-ID: <20200415084311.24857-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/firmware/xilinx/zynqmp-debug.c:38:15: warning: symbol 'firmware_debugfs_root' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/firmware/xilinx/zynqmp-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c index c6d0724da4db..43bc6cfdab45 100644 --- a/drivers/firmware/xilinx/zynqmp-debug.c +++ b/drivers/firmware/xilinx/zynqmp-debug.c @@ -35,7 +35,7 @@ static struct pm_api_info pm_api_list[] = { PM_API(PM_QUERY_DATA), }; -struct dentry *firmware_debugfs_root; +static struct dentry *firmware_debugfs_root; /** * zynqmp_pm_argument_value() - Extract argument value from a PM-API request -- 2.21.1