Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6093100rwb; Mon, 5 Dec 2022 07:56:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf6zfUIXxYVOWuadeFUOaCt8hflPer0cLfX7F5kPFgl1tuxfGfWEornRMmpvuYXIJApouwbC X-Received: by 2002:a17:907:b014:b0:7b4:86be:f3e3 with SMTP id fu20-20020a170907b01400b007b486bef3e3mr63957693ejc.741.1670255769669; Mon, 05 Dec 2022 07:56:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670255769; cv=none; d=google.com; s=arc-20160816; b=Yz+8ZU9aeA+sb/GOrFvZbakM2CtDiTueAl9Zi3S6gwhv9QIqBQijw9Vb/lc4J/HvKb SO2QLO6xLWu/pNiN7Yh/xcXKltou9wgU9PBDqj291gQsPK+2Vb7qLhhLIW/6ZkZ2vRvW h6wdye96Hwy4F05x00Wz2BUuBHmAd+wxIixxOyg14Hc0cHaSLXR0zlipxmz/yUEXCD4K B5/Zj7j8jFSuKT5yykTAhOkHPB+3etJ3Caxq10IHBqalImntN2jWPUhgh/MqO60hzpHV 9uyfnkILEnNdzTjJPKuJAnwXMTNGp+CvIiQvKvMDCTdp1RtHXmuwLOA/ViaHSYYHX08N rzpg== 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=VZgF3IUUW4jZmSKhg0DSn2FgvPvBswYaGKZGqPdBxF8=; b=oadob7qt2bM5+JMnL9392ZemuRPB4XGe+lDANW1bbm3U4E48Nk7yDUtJ3bWE6JEjG2 0mezbx3deYZ/CFmyoCA1aeyR9RAwvEIUYZn7N8p0EZHylJajGuLfLFAk5soEteVd8DzJ zyljpXk4mCRiyuZWt+jSHPZmmlbLkyD+ArbcNkBstgZLWboIWAY3XgBzIxFoMDGNFNdH NGMAAyCWw+b/fJTI/DCQK5DB8LyC3cC6DGiaDhmB8ARM1kqYiWbfDjPVthH/Ycyr1sVW t2J1K8WADGbtn3G+tfRKvAaplkLkf2uqjUgW22JLhtJjD6/gs+gZboUtqx0sGRjnO4mX /e4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a056402190600b0046b00aab3e3si1515365edz.170.2022.12.05.07.55.47; Mon, 05 Dec 2022 07:56:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232825AbiLEPnj (ORCPT + 82 others); Mon, 5 Dec 2022 10:43:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232898AbiLEPnc (ORCPT ); Mon, 5 Dec 2022 10:43:32 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89CC7BF54; Mon, 5 Dec 2022 07:43:30 -0800 (PST) Received: from canpemm500001.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4NQnmb48l0zJnQc; Mon, 5 Dec 2022 23:39:59 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by canpemm500001.china.huawei.com (7.192.104.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 5 Dec 2022 23:43:27 +0800 From: Xie XiuQi To: , , , , , , , , , , CC: , , , , Subject: [PATCH v3 1/4] ACPI: APEI: include missing acpi/apei.h Date: Tue, 6 Dec 2022 00:00:40 +0800 Message-ID: <20221205160043.57465-2-xiexiuqi@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221205160043.57465-1-xiexiuqi@huawei.com> References: <20221205160043.57465-1-xiexiuqi@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500001.china.huawei.com (7.192.104.163) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernel test robot reported this warning with 'make W=1': drivers/acpi/apei/apei-base.c:763:12: warning: no previous prototype for 'arch_apei_enable_cmcff' [-Wmissing-prototypes] 763 | int __weak arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, | ^~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/apei/apei-base.c:770:13: warning: no previous prototype for 'arch_apei_report_mem_error' [-Wmissing-prototypes] 770 | void __weak arch_apei_report_mem_error(int sev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Include missing acpi/apei.h to avoid this warning. Reported-by: kernel test robot Fixes: 9dae3d0d9e64 ("apei, mce: Factor out APEI architecture specific MCE calls") Signed-off-by: Xie XiuQi --- drivers/acpi/apei/apei-base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c index 9b52482b4ed5..02196a312dc5 100644 --- a/drivers/acpi/apei/apei-base.c +++ b/drivers/acpi/apei/apei-base.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include "apei-internal.h" -- 2.20.1