[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1bdf4b73d97f4671a69183d1028a0aae@huawei.com>
Date: Tue, 1 Dec 2020 11:12:22 +0000
From: "Zouwei (Samuel)" <zou_wei@...wei.com>
To: Hans de Goede <hdegoede@...hat.com>,
"justin.ernst@....com" <justin.ernst@....com>,
"mgross@...ux.intel.com" <mgross@...ux.intel.com>
CC: "platform-driver-x86@...r.kernel.org"
<platform-driver-x86@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>
Subject: 答复: [PATCH -next] x86/platform/uv: Mark some symbols with static keyword
Hi,
Please help to pick it up after 5.11-rc1, thanks a lot.
-----邮件原件-----
发件人: Hans de Goede [mailto:hdegoede@...hat.com]
发送时间: 2020年11月30日 21:31
收件人: Zouwei (Samuel) <zou_wei@...wei.com>; justin.ernst@....com; mgross@...ux.intel.com
抄送: platform-driver-x86@...r.kernel.org; linux-kernel@...r.kernel.org; x86@...nel.org
主题: Re: [PATCH -next] x86/platform/uv: Mark some symbols with static keyword
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 <zou_wei@...wei.com>
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 <hdegoede@...hat.com>
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;
>
Powered by blists - more mailing lists