Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3546607pxu; Mon, 30 Nov 2020 05:36:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwl5WULF/dkgOhMVcOi66/XBbhSJRXvLZhJGVvGiu1PR4sQPJS2SjozhI6zRtoUkxAOxrHB X-Received: by 2002:a17:906:174f:: with SMTP id d15mr20711811eje.15.1606743378446; Mon, 30 Nov 2020 05:36:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606743378; cv=none; d=google.com; s=arc-20160816; b=L7tK+NVazHvpodMXz3/D9UpWBFuUiuG27lniL7nIjhoa4cWFUZHsNGc/mugKOlKm00 R3KeBpdeCTNrPldQosOy9cK+sDLlfFCBVmhf8kyVhAlLVqSHOSmdZJcHu74bmVGmnwXa sUff2FlZ9M721f58nbp/iHBgbFR14e4fixHx2BK0NC801SsmFSjrD3Ubyl+DWQQmPfjf DCzcfbFu072mBceZ7WfMJ2478MLtprH2xCvu4nx3NmdhMFl5Vmk0lPKPlTeiA3jwSG3O mXvrBAZ4/93uwp0e6KmGltGwSZ2zskzaHb7L3foJ0i3RZCEihGCLUYi+hdKFoXZFvNFc VHpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=uFI50pysPtLDcbBO0F/EBWr/g7sPZm/GGocK9h6QMHo=; b=udfQi/Q3BOeF6s1NnqYje8rvZ6U/mUEXf9l3HxXmoRZ3EzskmmS5uCYLEciDM5+5UI TS3WiwLDyV7Nt9LWWCzb1GWCBYOLSa0e0u+TA5vqqegdOzleXgNHMKDHKRSkr58ZeGFD AFAOfputDwLCXaJSfXXuST8W9gAWJ/Wex6ZpBPHT9wmxRJGdhZQSfUqTUnUeD09VVJHD atm2aLvLXTpmswBISlvr371ANFPslarawHAGRSDrc1Yc5bQXJLXLbQiYri9mNwgRcSMd JVI2aJkTaN3JauvOkPRXmC7fWIdY7PPDz9Gc2iSJjqw83gtAGKzINw9/9IdJDUQYLBEx l59A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=P2mVcIuQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd41si11435797ejc.168.2020.11.30.05.35.54; Mon, 30 Nov 2020 05:36:18 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=P2mVcIuQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726467AbgK3NcQ (ORCPT + 99 others); Mon, 30 Nov 2020 08:32:16 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:49441 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbgK3NcQ (ORCPT ); Mon, 30 Nov 2020 08:32:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606743049; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uFI50pysPtLDcbBO0F/EBWr/g7sPZm/GGocK9h6QMHo=; b=P2mVcIuQo+zzmfE11CFsobSJF5BHStwQH1ISZ/Eff+ZVJVEXoLeaML4IdVF1qiABnbZm5d 4uS/ItwKgPalA0oCNZMp5sPnQWZ/hdxECg8kirBBZlPTPNU74h+mYYDt6oBUxz8fKC0l8A fLe5OBwNNSAyA2fUVQtXhJx035fRXRA= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-532-lLWWIwohPi6XsRPNL9cSGw-1; Mon, 30 Nov 2020 08:30:48 -0500 X-MC-Unique: lLWWIwohPi6XsRPNL9cSGw-1 Received: by mail-ed1-f69.google.com with SMTP id c24so6759114edx.2 for ; Mon, 30 Nov 2020 05:30:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uFI50pysPtLDcbBO0F/EBWr/g7sPZm/GGocK9h6QMHo=; b=S5dc73Nl8OSFs3TPoCSF9lmRFwGkqAnBgX3IyFwKw989X8L3EdumlFfE/fEnLJlHEB ub286REv5oOW6NiSqofOSNfhrjkoTRnLL6e21oV6uTW7eILLr/vDxwdnKMt0p4TxmSB0 saDeHscug4K8q0SR6v14bIfprxXjfz/CYd5Ha9tS6tCSMbdR0MqDmTExndKIb3HYNZZC hVbc7fvN00/rnLTHdGU4ELXv5Az4Yjyi/XmGVbf8q924EPPY16qeME42sLKuW+S7Ho/g hNh5bV/anhORCSZphuoiJKPBTMx+TlDx3nEkwsPThGBOrfhxMw3ENzTxwznzhJmFkM1x EeVw== X-Gm-Message-State: AOAM530RUOFrZhSvn9ZPMJCJB8v1sxRGiaW0hkjRoID2i0iZivdNhuM4 bbqwkXd9kMmhzfJPS0DwAzCYkt8A6M+PkeczSLawax+D+MnqwvjDbrm42hXA5iKmZIbzU+Lx6hB pCdlXg/Jf+L2cHDkjzCiOxFAH X-Received: by 2002:a17:906:b847:: with SMTP id ga7mr21231514ejb.200.1606743044801; Mon, 30 Nov 2020 05:30:44 -0800 (PST) X-Received: by 2002:a17:906:b847:: with SMTP id ga7mr21231226ejb.200.1606743041998; Mon, 30 Nov 2020 05:30:41 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c0c-fe00-d2ea-f29d-118b-24dc.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:d2ea:f29d:118b:24dc]) by smtp.gmail.com with ESMTPSA id da9sm433255edb.13.2020.11.30.05.30.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2020 05:30:41 -0800 (PST) Subject: Re: [PATCH -next] x86/platform/uv: Mark some symbols with static keyword To: Zou Wei , justin.ernst@hpe.com, mgross@linux.intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org References: <1606734713-43919-1-git-send-email-zou_wei@huawei.com> From: Hans de Goede Message-ID: <55abc980-2493-5c29-da80-4bb1446fa37d@redhat.com> Date: Mon, 30 Nov 2020 14:30:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1606734713-43919-1-git-send-email-zou_wei@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, +Cc x86 folks On 11/30/20 12:11 PM, Zou Wei wrote: > 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 Since this is a fix to a series merged through the x86/tip tree, this should be merged to the x86/tip tree too (or I can pick it up after 5.11-rc1). Here is my ack for merging this through the x86/tip tree: Acked-by: Hans de Goede Regards, Hans > --- > 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; >