Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2010696pxf; Fri, 26 Mar 2021 23:57:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsu1x6c/Wpu3KDEdTaSquaIthjt8XJD59C7V39G0/9nY61AKryQ/U21nbjg1pOIxFMQFQI X-Received: by 2002:a17:906:f9db:: with SMTP id lj27mr19149350ejb.399.1616828244772; Fri, 26 Mar 2021 23:57:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616828244; cv=none; d=google.com; s=arc-20160816; b=KuDBT6+bwBWPnqDsS5k7pObw1HINYOEPoIz23Cqt/D3C+vCenf2qwBd3QF3Czevtay EuAH7VMg3KIqpDSL1SPvVr5758rNP1Np1WpFGkgTYQBX4Y5EQrweid1HC9dUSd9GPxPd ef2AsWRfVkezYsNTIjISDp0YYRg/TYOt1/VnyBKZEDS0Tn/M1SnJyg9xunmb3+9dxNrF oRRl2eifF4kytv1dGTDVjCRHD9Jbl1tmX0YfnkXyTx+niqeU6U/3B2UWONMryZq0HWTi YLUb52gNCh/7F8k7MpEMkOAJ7DsBWZ323fVL5bM3WwSS4KL3QfsWFytQdta+FkkRzXC9 We/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2zb26dS3sohXtPa727TbCkyx5jZqY0hqHP7wvf8lOo0=; b=qtv/WVNZ6jeTPdYjtb6IUumCQzgt7ZvaKhLEnSx57k1WuqJeY3u4j/h6SRUJmh3tcc pMKCrj596ahLp64Poa8PtwfAEBM/Xe7MtZMlM4p10TCaMoPNryITdlH/nhlfax5bhPwg NLif9jIG9RphqH8IVn40fYM+rWYwYbYyuHrZqmySvUYmYMdnP4L0VBEpN9iZCtb4Kw6s Hsato2qobkOPjPawXaJ92uGOESWxhVZcwoUEA0Odo5z3D+jIfYC3ZBG+fwIZocC8Zw62 DMs9493UgvodJCizPP6WhPmnajYobY3mqgzXDbL7Twk4npH7uren3kkM/g4kmR0ohb1X GA+w== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc2si8188128edb.263.2021.03.26.23.57.02; Fri, 26 Mar 2021 23:57:24 -0700 (PDT) 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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231535AbhC0Gog (ORCPT + 99 others); Sat, 27 Mar 2021 02:44:36 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15334 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbhC0GoB (ORCPT ); Sat, 27 Mar 2021 02:44:01 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F6q4m1JvZz93nV; Sat, 27 Mar 2021 14:41:44 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 14:43:36 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH 07/15] ACPI: acpi_memhotplug: fix a coding style issue Date: Sat, 27 Mar 2021 14:40:48 +0800 Message-ID: <1616827256-51840-8-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616827256-51840-1-git-send-email-tanxiaofei@huawei.com> References: <1616827256-51840-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coding style issue reported by checkpatch.pl WARNING: __initdata should be placed after acpi_no_memhotplug FILE: drivers/acpi/acpi_memhotplug.c:326: +static bool __initdata acpi_no_memhotplug; Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_memhotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c index 8cc195c..5c5ed22 100644 --- a/drivers/acpi/acpi_memhotplug.c +++ b/drivers/acpi/acpi_memhotplug.c @@ -323,7 +323,7 @@ static void acpi_memory_device_remove(struct acpi_device *device) acpi_memory_device_free(mem_device); } -static bool __initdata acpi_no_memhotplug; +static bool acpi_no_memhotplug __initdata; void __init acpi_memory_hotplug_init(void) { -- 2.8.1