Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7240503rwd; Mon, 19 Jun 2023 21:15:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ExrG2aj2BFTcUKQieTJqd+98x2I+aMXugAC6yrilGaDzKsmsAGYSkH63SuMDQXi/rjeyo X-Received: by 2002:a17:902:d4c1:b0:1b1:9f8a:6c18 with SMTP id o1-20020a170902d4c100b001b19f8a6c18mr12931762plg.25.1687234507566; Mon, 19 Jun 2023 21:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687234507; cv=none; d=google.com; s=arc-20160816; b=DLlXagjd1fmSN4ou1Bahcf9GqfLb/SQNDYCwR+FKtiSYBK6dvvcw0lrmQ7rqyc7glS yivyHhY3gBUDP0rZxnCwiHpv2pLmLma9geEn+FK/BYIgIDwt+YKCrD0QK+Pql2gKv6Yj B666k7TxjPGlxjHbFAm2GNbKqK7W1uD6u+/4JasOF2YJor8uVDCXRat/+6LdNRkGImsN 1vxNi+sZmcL62y2V8h2ioOOIYAs9upIgQuY/lZCcZKhsBQMclN28JmoH+J4U57Ds7PSe uQ6pQ60FmaDsYHf00vGRIvX1pRDhGR0Hx55da/0V5blFgFs4bhPW5ToO4rPX6sr+5qfn O+jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Gzn/bj2rRdgwuBmP91tCgEvPUb6nU9uwbkCnLVOQXwQ=; b=ML3V95dGTY5AIJAtUmVH+bbBK1VGn0tjuJxNxxTQW8pmZwqgbnJHkGFoEAIz18RDbD eymcoCf9j9v8bQZQeXVeVXE3yadb3SMzFyBdByP6IwM20eFYZkhsblnFWNpjm5ohKccU 2nyARfzzMUIxb8aAzWgdjcvb7TOf85+WBBGorvCyaj/Vy+I+doblRnRe4coFQJGmkcWx Cr4E+1TgT/yxAAfTz4FT2grWIKc/AAX4h3mOui7dsonfmPYa10429RKM8n38JDQz39ly uSBlG2dwQwQxuqej9PjFxrfLaSNyhrJdibMx2IFYb8TYi/PXz53sj5/cZs5YzsU4VbAj rpnQ== 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 e4-20020a170902ef4400b001b66bacd96bsi1152097plx.58.2023.06.19.21.14.52; Mon, 19 Jun 2023 21:15:07 -0700 (PDT) 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 S230033AbjFTD6b (ORCPT + 99 others); Mon, 19 Jun 2023 23:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjFTD6a (ORCPT ); Mon, 19 Jun 2023 23:58:30 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AA31133; Mon, 19 Jun 2023 20:58:28 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4QlXt23tD4z1HBPc; Tue, 20 Jun 2023 11:58:18 +0800 (CST) Received: from [10.174.151.185] (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 20 Jun 2023 11:58:08 +0800 Subject: Re: [PATCH] ACPI: APEI: mark some functions __init To: Shuai Xue , CC: , , , , , References: <20230617080708.2002287-1-linmiaohe@huawei.com> <638b32ce-d2a8-2686-dda1-26abb0778bae@linux.alibaba.com> From: Miaohe Lin Message-ID: <557d3e68-f291-132a-adc5-d8234fb2d379@huawei.com> Date: Tue, 20 Jun 2023 11:58:08 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <638b32ce-d2a8-2686-dda1-26abb0778bae@linux.alibaba.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 2023/6/20 11:43, Shuai Xue wrote: > > > On 2023/6/17 16:07, Miaohe Lin wrote: >> hest_esrc_len() and apei_hest_parse() are only called inside __init >> section. So mark them __init too. > > Hi, Miaohe, > > should ghes_estatus_pool_init also be marked with __init? Yes, I think so. It's only called within __init section too. And it's in fact on my plan in another patch. Thanks for your comment. > > Thanks. > > Best Regards, > Shuai > >