Re: [PATCH v22 4/5] mm/pagemap: add documentation of PAGEMAP_SCAN IOCTL

From: kernel test robot
Date: Tue Jul 04 2023 - 06:11:02 EST


Hi Muhammad,

kernel test robot noticed the following build warnings:

[auto build test WARNING on akpm-mm/mm-everything]
[also build test WARNING on linus/master next-20230704]
[cannot apply to v6.4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Muhammad-Usama-Anjum/userfaultfd-UFFD_FEATURE_WP_ASYNC/20230628-180259
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230628095426.1886064-5-usama.anjum%40collabora.com
patch subject: [PATCH v22 4/5] mm/pagemap: add documentation of PAGEMAP_SCAN IOCTL
reproduce: (https://download.01.org/0day-ci/archive/20230704/202307041808.b1eQDDHa-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307041808.b1eQDDHa-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> Documentation/admin-guide/mm/pagemap.rst:238: WARNING: Unexpected indentation.
>> Documentation/admin-guide/mm/pagemap.rst:240: WARNING: Block quote ends without a blank line; unexpected unindent.

vim +238 Documentation/admin-guide/mm/pagemap.rst

233
234 The ``PAGEMAP_SCAN`` IOCTL on the pagemap file can be used to get or optionally
235 clear the info about page table entries. The following operations are supported
236 in this IOCTL:
237 - Get the information if the pages have been written to (``PAGE_IS_WRITTEN``),
> 238 file mapped (``PAGE_IS_FILE``), present (``PAGE_IS_PRESENT``), swapped
239 (``PAGE_IS_SWAPPED``) or page has pfn zero (``PAGE_IS_PFNZERO``).
> 240 - Find pages which have been written to and/or write protect the pages atomically
241 (atomic ``PM_SCAN_OP_GET + PM_SCAN_OP_WP``)
242

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki