From patchwork Fri Nov 5 20:36:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12605443 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 160DDC433F5 for ; Fri, 5 Nov 2021 20:36:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D6F9D611EE for ; Fri, 5 Nov 2021 20:36:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D6F9D611EE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 74945940027; Fri, 5 Nov 2021 16:36:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6D18A940007; Fri, 5 Nov 2021 16:36:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 52400940027; Fri, 5 Nov 2021 16:36:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0160.hostedemail.com [216.40.44.160]) by kanga.kvack.org (Postfix) with ESMTP id 3BFA0940007 for ; Fri, 5 Nov 2021 16:36:48 -0400 (EDT) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id F363375977 for ; Fri, 5 Nov 2021 20:36:47 +0000 (UTC) X-FDA: 78776035296.07.565955E Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf02.hostedemail.com (Postfix) with ESMTP id 52BF37001A05 for ; Fri, 5 Nov 2021 20:36:42 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id A965561262; Fri, 5 Nov 2021 20:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1636144606; bh=K30jLwJu2H2IwN4Vev+J4MYWEvdqbHjCEuX/VAadIw4=; h=Date:From:To:Subject:In-Reply-To:From; b=sZ86veP/gmd7mV3YY8JLyGqeM2FrNJHKbYhAXDwGwWRROuns0MQXzqLo2FgN/jZ2R TIZ1CL+hRtEmSZR0mMxfJ01MhNJp7wP32kJfRTNnSINOozELZNPhzcFs9mqzNcQcKK 780vQJTFjw/gqajIGMtRWAiBLPckZfX5xdBmhI0U= Date: Fri, 05 Nov 2021 13:36:46 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org, vbabka@suse.cz, zhangyinan2019@email.szu.edu.cn Subject: [patch 040/262] mm/page_ext.c: fix a comment Message-ID: <20211105203646.2UGG_XIty%akpm@linux-foundation.org> In-Reply-To: <20211105133408.cccbb98b71a77d5e8430aba1@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="sZ86veP/"; dmarc=none; spf=pass (imf02.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 52BF37001A05 X-Stat-Signature: bdmo3bzeqx4nnbd3i5mzdetq41o379bg X-HE-Tag: 1636144602-263732 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Yinan Zhang Subject: mm/page_ext.c: fix a comment I have noticed that the previous macro is #ifndef CONFIG_SPARSEMEM. I think the comment of #else should be CONFIG_SPARSEMEM. Link: https://lkml.kernel.org/r/20211008140312.6492-1-zhangyinan2019@email.szu.edu.cn Signed-off-by: Yinan Zhang Acked-by: Vlastimil Babka Signed-off-by: Andrew Morton --- mm/page_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/page_ext.c~mm-fix-a-comment +++ a/mm/page_ext.c @@ -201,7 +201,7 @@ fail: panic("Out of memory"); } -#else /* CONFIG_FLATMEM */ +#else /* CONFIG_SPARSEMEM */ struct page_ext *lookup_page_ext(const struct page *page) {