[PATCH v2 0/2] mmzone.h: fix kernel-doc and simplify is_highmem_idx
From: Mike Rapoport
Date: Mon Apr 26 2021 - 10:19:39 EST
From: Mike Rapoport <rppt@xxxxxxxxxxxxx>
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.
v2:
* rebase on v5.12-rc8-mmots-2021-04-21-23-08
* add Reviewed-by tags, thanks Anshuman and Matthew
v1: Link: /home/mike/tmp/mm-docs/mmzone/v2/v2-0000-cover-letter.patch
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 | 1 +
include/linux/mmzone.h | 56 ++++++++++++++-----------------
2 files changed, 26 insertions(+), 31 deletions(-)
base-commit: 5770176c2a0eaa998c58cfc7a9a5fe5b9291dd2a
--
2.29.2