[PATCH 0/2] mmzone.h: fix kernel-doc and simplify is_highmem_idx

From: Mike Rapoport
Date: Fri Apr 23 2021 - 16:38:54 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.

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(-)

--
2.29.2