Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2101010pxb; Sat, 22 Jan 2022 16:17:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8idCn7tlaNGgKOz1Y2NCAaCE8ytIiyrJlkYBhRORxW09ZH+630uahk2a0At7mjo8/VFWJ X-Received: by 2002:a17:902:7602:b0:14a:4a48:cabd with SMTP id k2-20020a170902760200b0014a4a48cabdmr9252496pll.121.1642897048567; Sat, 22 Jan 2022 16:17:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642897048; cv=none; d=google.com; s=arc-20160816; b=HXofRyCh4iQ2yZ7TS1gPvAfHnysHSInfDr393ivTEQNAHqH4cvIHf9ee+TK8bZRG+c lxxshfjPUSB2yi+XURx1BWuTFYOziYKe+PAigx/CKxWUPhzv/1WNnB86W03YFbc9arWW te7PwqBhKH8zd+vvlDy/8q/5zirDdZvI5NWfFrCftpU/SUez3DozIHVsNm4jsdHaMfkp Le1Cza5v1G5IGa8oTz+UoOxL+CWLvUGgnQ7vuMV+IJPDd9vDJtPiznSKcXugVzeEsGYe 5VRVbPvxSpO0Hi4raDcnNtEIfIeEs8sOwRac6ut+cAxwA8T8pmFox/ilUdm0uHKS7qjM i6fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=JaOXA6OXgtDRQDkICxd1b2iXnNzSw2hXT6l2YD/bBPg=; b=kxVGFqwARVw1i5TTTZzQxD6Y+ZMhYHAsfmV3WCU//Ln4Hf3nFQ+C+WXKs/9N2Li/Wa IACV3Q2RgtwN0v0JluXznZfJL2PB5FB337Nbkc4C1BCk0it1HkluV3qPUiQhW5M4kpn0 euTMqLtOm2RBBnfNjvID+xJEId1IlpyWbTwXISecLbTP9GGd3hZv28CFv9B7Ug3NsP3M JUpNwv6c7JcNYSk3E0hEtrV+Y0pOa9ZpYNIeMQf9wKfbDydqKeOWgclK2a7Q8HNYdLb6 alapgFbpnWLwvzdMc0Cp9BFNek3Spm4Z7GUitgHoTJaWPqerGDb54aIOmdurVPP5ess2 FT5A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si11607417pgf.429.2022.01.22.16.17.17; Sat, 22 Jan 2022 16:17:28 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233034AbiAVF0m (ORCPT + 99 others); Sat, 22 Jan 2022 00:26:42 -0500 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:50342 "EHLO out4436.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232255AbiAVF0i (ORCPT ); Sat, 22 Jan 2022 00:26:38 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---0V2UlMIm_1642829192; Received: from localhost.localdomain(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0V2UlMIm_1642829192) by smtp.aliyun-inc.com(127.0.0.1); Sat, 22 Jan 2022 13:26:33 +0800 From: Shuai Xue To: helgaas@kernel.org, rafael@kernel.org Cc: bp@alien8.de, tony.luck@intel.com, james.morse@arm.com, lenb@kernel.org, rjw@rjwysocki.net, bhelgaas@google.com, xueshuai@linux.alibaba.com, zhangliguang@linux.alibaba.com, zhuo.song@linux.alibaba.com, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org Subject: [PATCH v7 2/2] ACPI: APEI: rename ghes_init with an "acpi_" prefix Date: Sat, 22 Jan 2022 13:26:18 +0800 Message-Id: <20220122052618.1074-2-xueshuai@linux.alibaba.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: <20211126070422.73234-1-xueshuai@linux.alibaba.com> References: <20211126070422.73234-1-xueshuai@linux.alibaba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Shuai Xue --- drivers/acpi/apei/ghes.c | 2 +- drivers/acpi/bus.c | 2 +- include/acpi/apei.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index aadc0a972f18..d91ad378c00d 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -1457,7 +1457,7 @@ static struct platform_driver ghes_platform_driver = { .remove = ghes_remove, }; -void __init ghes_init(void) +void __init acpi_ghes_init(void) { int rc; diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 3f403db20f69..cd374210fb9f 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -1332,7 +1332,7 @@ static int __init acpi_init(void) pci_mmcfg_late_init(); acpi_iort_init(); acpi_hest_init(); - ghes_init(); + acpi_ghes_init(); acpi_scan_init(); acpi_ec_init(); acpi_debugfs_init(); diff --git a/include/acpi/apei.h b/include/acpi/apei.h index 4e60dd73c3bb..afaca3a075e8 100644 --- a/include/acpi/apei.h +++ b/include/acpi/apei.h @@ -27,10 +27,10 @@ extern int hest_disable; extern int erst_disable; #ifdef CONFIG_ACPI_APEI_GHES extern bool ghes_disable; -void __init ghes_init(void); +void __init acpi_ghes_init(void); #else #define ghes_disable 1 -static inline void ghes_init(void) { } +static inline void acpi_ghes_init(void) { } #endif #ifdef CONFIG_ACPI_APEI -- 2.20.1.12.g72788fdb