Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14475962rwd; Sat, 24 Jun 2023 21:16:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4IMQ1b9HFo7K5w9MZ/oPZFtgTfnobWa8f/z5Jd8MTVa50lfhf+yLl8I1eCKg5LEA7AiOP0 X-Received: by 2002:a05:6870:85c7:b0:1a6:c968:4a15 with SMTP id g7-20020a05687085c700b001a6c9684a15mr15158287oal.4.1687666603302; Sat, 24 Jun 2023 21:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687666603; cv=none; d=google.com; s=arc-20160816; b=IDBMtYFTJM0ho/M4AHerwRMPQ+tvjYvzFQmiIPR4Cvi5BOh7PDO7GOhkGbBgo0IRCQ KmmcnWPr7y+/oXQZ2gvrGvVV3WqwxNce2oPz+ptHpPUkiWEWb8cwpce2Cl3LeiyIVF8l o5zOHYymqzTZU6E7wfpIqJzRfkhpCUCJ7n/54UNmHlS6pIiZDIvsVe1xE2HESuyh3CD0 FV0NrzU5jFlVxQMP1tAKTcBhlCf54X6IX7AOYm4Piehmx2iIkIJ55r+xvztCMqDAto/m OtpqyaoYOsXvUMzAQSl56EnDeli29ZuwDqA288k01IL+RwdPOZXLf3tllmEECwEwZDiR 6Tyg== 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 :message-id:date:subject:cc:to:from; bh=gRBxoJlV6RjtAYnCPjqeFPC7xYMYiJFJZs41126Fybw=; fh=eK19xIshSAMWwRls8wFBxXm+qmjDpgdvZ33FYfDJB/M=; b=tCHh1Uwpwy2IEvwit0RuHUVF5wr8Eerz5ykVIKGq7+XbW+OsZCUMWE/no0XxXW90TE 6Upj4zc8kt0NWYzgbSmgy2bzHrjP3kxkDqvPOO7bI+wUEDe4JIwoHVWGJJxXjUUcsnAs Xb08kl248+pyySAMQsnHkq3NAPKMkJaVf0N/xGHudMnYYW6ta1Qc/AYrd7Uiuu9S5eFb Z8MKANnh10FncSjIsCbamSviQ9BaTDrsBKgDSyMQVoLzwdhiVsu2YkAbnP/1mvRQq8KE olykbUf/crFPiQTDRuaSNRD78yAeVxoGAqWeZigaOg7jwoTCKsG21OoSDMlWRxMpKqfA tTfQ== 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 10-20020a63020a000000b0055acc7f8088si431657pgc.301.2023.06.24.21.16.31; Sat, 24 Jun 2023 21:16:43 -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 S230169AbjFYDe3 (ORCPT + 99 others); Sat, 24 Jun 2023 23:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbjFYDe0 (ORCPT ); Sat, 24 Jun 2023 23:34:26 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70AECB5 for ; Sat, 24 Jun 2023 20:34:24 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Qpc3m2GMgzLlhq; Sun, 25 Jun 2023 11:32:20 +0800 (CST) Received: from huawei.com (10.175.104.170) 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; Sun, 25 Jun 2023 11:34:21 +0800 From: Miaohe Lin To: , CC: , , Subject: [PATCH] mm/mm_init.c: Update obsolete comment in get_pfn_range_for_nid() Date: Sun, 25 Jun 2023 11:33:40 +0800 Message-ID: <20230625033340.1054103-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.170] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500002.china.huawei.com (7.192.104.244) 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,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 Since commit 633c0666b5a5 ("Memoryless nodes: drop one memoryless node boot warning"), the warning for a node with no available memory is removed. Update the corresponding comment. Signed-off-by: Miaohe Lin --- mm/mm_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/mm_init.c b/mm/mm_init.c index 999723dee8cc..f90db54e2b21 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -1681,8 +1681,7 @@ static inline void alloc_node_mem_map(struct pglist_data *pgdat) { } * * It returns the start and end page frame of a node based on information * provided by memblock_set_node(). If called for a node - * with no available memory, a warning is printed and the start and end - * PFNs will be 0. + * with no available memory, the start and end PFNs will be 0. */ void __init get_pfn_range_for_nid(unsigned int nid, unsigned long *start_pfn, unsigned long *end_pfn) -- 2.27.0