Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7AF4C433ED for ; Fri, 23 Apr 2021 20:38:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 30235613C1 for ; Fri, 23 Apr 2021 20:38:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30235613C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A3D126B006E; Fri, 23 Apr 2021 16:38:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9C7136B0070; Fri, 23 Apr 2021 16:38:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 840056B0071; Fri, 23 Apr 2021 16:38:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0201.hostedemail.com [216.40.44.201]) by kanga.kvack.org (Postfix) with ESMTP id 642816B006E for ; Fri, 23 Apr 2021 16:38:26 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 1333E12FC for ; Fri, 23 Apr 2021 20:38:26 +0000 (UTC) X-FDA: 78064794612.05.6DA89F7 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf21.hostedemail.com (Postfix) with ESMTP id C8384E000120 for ; Fri, 23 Apr 2021 20:38:22 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id DD40E613C1; Fri, 23 Apr 2021 20:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619210303; bh=ny/sT7gwWEM66ZHkzg7/Gi0H/QSDH+E6gNIWpbUP1UI=; h=From:To:Cc:Subject:Date:From; b=m6RumjXLT0ZB3VskzI8rH7ThOW5Lm34QRUwMW3Ex7JV/jU9jfkkFouHFa8PSzjm5Z TI8mJYWTXIud02ZHsjHxyNWRkNqJt5vgum4bI8WYCSH+1i5tgWZlzSdpqbTATnN8PW V0op9Q7qUJFeEfp8WzqABmucxrgctSE9PMd/bHy4R26cUbIzjcy2wJLRGFqbHwgZLU NNCTHFik9m+pYPLeGpRhKL5T6Tiu+QvqaaQ2lcuSlQvp54VBdwTHwPtujn/EaKo3qV LY8RppOgnUXR9TfmLonNsEFyvIdLeDwK4wXjIgnaYq++T0ZJGlWsWiRhC5A+myhKaB I25TIhuHyuWdw== From: Mike Rapoport To: Andrew Morton Cc: Jonathan Corbet , Mike Rapoport , Mike Rapoport , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/2] mmzone.h: fix kernel-doc and simplify is_highmem_idx Date: Fri, 23 Apr 2021 23:38:09 +0300 Message-Id: <20210423203811.1247508-1-rppt@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: C8384E000120 X-Stat-Signature: 71iqeobfrodsci4yy4reqqa9rnj593gh X-Rspamd-Server: rspam02 Received-SPF: none (kernel.org>: No applicable sender policy available) receiver=imf21; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1619210302-15759 Content-Transfer-Encoding: quoted-printable 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: Mike Rapoport Hi, There are several kernel-doc comments in include/linux/mmzone.h, but they have some formatting issues and they are not linked to the rest of the documentation. The first patch here fixes the formatting and adds the kernel-doc comments to the core-api/mm-api.rst. The second patch simplifies a bit detection if a zone is a highmem zone. It does not generally depends on the first one, but they have a textual conflict. Mike Rapoport (2): mm/mmzone.h: fix existing kernel-doc comments and link them to core-api mm/mmzone.h: simplify is_highmem_idx() Documentation/core-api/mm-api.rst | 2 ++ include/linux/mmzone.h | 56 ++++++++++++++----------------- 2 files changed, 27 insertions(+), 31 deletions(-) --=20 2.29.2