Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp305655pxu; Thu, 3 Dec 2020 00:06:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZ4Y2yifglZ3GdRkw3tQ2Mj3VcHzgVmmP53a2oWd8W8Op9KMrXVmfgWQd4YO/RhVA0130c X-Received: by 2002:a17:906:a052:: with SMTP id bg18mr1486177ejb.550.1606982764148; Thu, 03 Dec 2020 00:06:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606982764; cv=none; d=google.com; s=arc-20160816; b=eoCzSWxB48PN6QdHFfrXZnaYWOpgFl7u5j/ON9Klwt/4749D82tInWciWn4iLppwha IH8HrvQn8wUv4ZaBfyHwsAnU916uLZj2cVN6IIAaOxHVazZ9oqSE6+MJt9XqVvHQ7DAl ysesLRlyO1pWCjhzBENAMzHYyDrZXp541bMEZ63IWhc+KmfLUY3M9T0YVKrXmpiPgKLp eslWt1vWMhrKNhGtkmE9/3N+Bws3dOYPQ074D4MZe3Kp1vkFYOZb/Nt1y9VWIo0J1/c6 6vKoQKPJFOI1J1Y+WsNFrRm4kzGb6aXIdt43Pe4nTznCo/sZtKsPwdjCPONPCCJRk6+S nIhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=U2gzum94MVzbA49l84sMu0yte4pizNa3znOvuSTlN/I=; b=wLANoAIXaE2Ovv7K+WpAOGuAswYswkjgN2g4Oy+lgXL5JP9ubROYiguUcNwipHmWCC YKMpwgamtYPGGdPfpI1Rx6ZxuI7jARsYubKcW2b2X8xhhC/VGeZngH0e5nSVRmeG/RYp gejggHZDZhXuvhNm/alzXFHw0u1dqRi89AI2cLs+3lbIxDPDLELSUrgrHU+MhjT4TWAi YGfmApWvLcgeYu0hFb7bj9X5JkzbI5ZRoUum5skK4veVRPFJxhsUxpoND2VF25oRlLfS qzXFXFNhhkjKocKJAMKIAHgrthg/XFwNA2cTQYk1OW1IvnX+lPeKrVvxJxWNu2+3U718 Zl+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=2+4TG3Xz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=XTD9YRb0; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si557184edi.362.2020.12.03.00.05.41; Thu, 03 Dec 2020 00:06:04 -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=@linutronix.de header.s=2020 header.b=2+4TG3Xz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=XTD9YRb0; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387627AbgLCICl (ORCPT + 99 others); Thu, 3 Dec 2020 03:02:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728187AbgLCICl (ORCPT ); Thu, 3 Dec 2020 03:02:41 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10C3AC061A51; Thu, 3 Dec 2020 00:02:01 -0800 (PST) Date: Thu, 03 Dec 2020 08:01:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1606982518; h=from:from:sender:sender:reply-to: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=U2gzum94MVzbA49l84sMu0yte4pizNa3znOvuSTlN/I=; b=2+4TG3Xz9sC4hHtQ8qS/WsMZAE+ICrv8ITGO2oc0Ho9XksuAIqxsDCEbsVHDIhbogjQ7do BWwl+29pxhg/toR22uCa05uSGEgZR2589JYWBpsjfzIpbWrmO3H+oFZbZjzLMMvU3DQFSw 8TfAww21OMoJqM8YVx3UmRH3n2wedC6JyRDV4TP7E559SDo5QxdPjgVNZaJ9MwCkb0YNb0 mfH6fzQy6Rtg9RbSKRW8p9DA/YoQNarrZgXgGWHk6PR9zvufpGN5craJ0bRszPTJeVSR+D F7ih7yYOJmIdPqAUTx4cAfhixYgvR0TC6vLjB0TTHSb/p3/b6u04g0p6hd8o7g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1606982518; h=from:from:sender:sender:reply-to: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=U2gzum94MVzbA49l84sMu0yte4pizNa3znOvuSTlN/I=; b=XTD9YRb0dulCFGuG7RJjMTsQ7YHRKoVkuzfTeof0YEKSgxk6PkPlxHYn0HtusgbtQfACDa B1WPO6EjesqppuCg== From: "tip-bot2 for Zou Wei" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/platform] x86/platform/uv: Make uv_pcibus_kset and uv_hubs_kset static Cc: Zou Wei , Borislav Petkov , Hans de Goede , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1606734713-43919-1-git-send-email-zou_wei@huawei.com> References: <1606734713-43919-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Message-ID: <160698251802.3364.12660165138923593684.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/platform branch of tip: Commit-ID: 0c683e9de0c78ee53e220eac9ee3604ca662737a Gitweb: https://git.kernel.org/tip/0c683e9de0c78ee53e220eac9ee3604ca662737a Author: Zou Wei AuthorDate: Mon, 30 Nov 2020 19:11:53 +08:00 Committer: Borislav Petkov CommitterDate: Thu, 03 Dec 2020 08:53:47 +01:00 x86/platform/uv: Make uv_pcibus_kset and uv_hubs_kset static 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 Signed-off-by: Borislav Petkov Acked-by: Hans de Goede Link: https://lkml.kernel.org/r/1606734713-43919-1-git-send-email-zou_wei@huawei.com --- 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 e17ce8c..c27f5ff 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;