Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3431362pxu; Mon, 30 Nov 2020 03:05:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJz84hLHeg6/9kaBDDFBY20yWfwoVL6ZgBOjdGwRbTCLcjCjkO3dYAQ5dPK0HUDTvlspxLbI X-Received: by 2002:a17:906:56ca:: with SMTP id an10mr5958312ejc.498.1606734331504; Mon, 30 Nov 2020 03:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606734331; cv=none; d=google.com; s=arc-20160816; b=MVBtl9VAnirAcYeP/BjdxHaxZuGdBgflX5IbdnnC4G7OdgfF/I8oRtxXOpcO6Pxvxf OK9EdrxfS3rXj//n4iyyZW+aIPSvbPIIQkxe0i/trQnsGjS1MPA1j6wDvQpadaTujDnV YJuV1zQBBtMf/Tvxromft+1v3Ar73wbuivkdITeuZv2ah1xwq7CZxoFKzhopeFR2F0Jp etYLOdp8ke4j+ZV0E4swlsJC6VRY0WtDONq8Bli3KXY/aE7O7Z8VHu7/12Xn5PGFF5bO YVGn71KZTJamvyGnZffo9Hi7jIYsFiM86EI8yK/jqFdk9MbOfSdzlaSe2HT0tYTexXcA uxzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=l9fsFG37M5ungdgktGTMRVrP4PqiHgGnCQ117DhHKE8=; b=LZ2SDgOEcSCvoVOpzq4TZqk8K1TGg17UxKd5bT5eZokKwcPg2z6v2GwCy3tQv/G6EO hReSF1pop7j74OR4SeM1seSy3/DUYUbGDpA9jqlq/u1wwmGXUIvPySot7hTep0dVAX+p fJqD2nL1ejB3X2E9zIOAu7eoijyWz3qbN55UFTC1m04oWjdohzeNrLr+GJlGFuPQzvEM sdRJSzKQTy/Du+z6aKDVfXNsBhYADQYHTM+elSfZm3Re97gkeeeuO66G3zaZnwHgMOVg nJa+LV5M5KrakYXHSQMQ6EA9gqP/JctZG2AJEMitSZ3ldAQY1MkcNRxjVV+/2Bfhn59m +PCw== 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 d12si6942305edh.221.2020.11.30.03.05.08; Mon, 30 Nov 2020 03:05:31 -0800 (PST) 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 S1728803AbgK3LBK (ORCPT + 99 others); Mon, 30 Nov 2020 06:01:10 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8217 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbgK3LBK (ORCPT ); Mon, 30 Nov 2020 06:01:10 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Cl2Lg3wcxzkjd4; Mon, 30 Nov 2020 18:59:55 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Mon, 30 Nov 2020 19:00:18 +0800 From: Zou Wei To: , , CC: , , "Zou Wei" Subject: [PATCH -next] x86/platform/uv: Mark some symbols with static keyword Date: Mon, 30 Nov 2020 19:11:53 +0800 Message-ID: <1606734713-43919-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warnings: drivers/platform/x86/uv_sysfs.c:22:13: warning: symbol 'uv_pcibus_kset' was not declared. Should it be static? drivers/platform/x86/uv_sysfs.c:23:13: warning: symbol 'uv_hubs_kset' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/platform/x86/uv_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/uv_sysfs.c b/drivers/platform/x86/uv_sysfs.c index 54c3425..c780a4b 100644 --- a/drivers/platform/x86/uv_sysfs.c +++ b/drivers/platform/x86/uv_sysfs.c @@ -19,8 +19,8 @@ #define INVALID_CNODE -1 struct kobject *sgi_uv_kobj; -struct kset *uv_pcibus_kset; -struct kset *uv_hubs_kset; +static struct kset *uv_pcibus_kset; +static struct kset *uv_hubs_kset; static struct uv_bios_hub_info *hub_buf; static struct uv_bios_port_info **port_buf; static struct uv_hub **uv_hubs; -- 2.6.2