The patch titled Subject: mm: fix Documentation/vm/hmm.rst Sphinx warnings has been added to the -mm tree. Its filename is mm-fix-documentation-vm-hmmrst-sphinx-warnings.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-fix-documentation-vm-hmmrst-sphinx-warnings.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-fix-documentation-vm-hmmrst-sphinx-warnings.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Subject: mm: fix Documentation/vm/hmm.rst Sphinx warnings Fix Sphinx warnings in Documentation/vm/hmm.rst by using "::" notation and inserting a blank line. Also add a missing ';'. Documentation/vm/hmm.rst:292: WARNING: Unexpected indentation. Documentation/vm/hmm.rst:300: WARNING: Unexpected indentation. Link: http://lkml.kernel.org/r/c5995359-7c82-4e47-c7be-b58a4dda0953@xxxxxxxxxxxxx Fixes: 023a019a9b4e ("mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays") Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Reviewed-by: Jérôme Glisse <jglisse@xxxxxxxxxx> Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/vm/hmm.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- a/Documentation/vm/hmm.rst~mm-fix-documentation-vm-hmmrst-sphinx-warnings +++ a/Documentation/vm/hmm.rst @@ -288,15 +288,17 @@ For instance if the device flags for dev WRITE (1 << 62) Now let say that device driver wants to fault with at least read a range then -it does set: - range->default_flags = (1 << 63) +it does set:: + + range->default_flags = (1 << 63); range->pfn_flags_mask = 0; and calls hmm_range_fault() as described above. This will fill fault all page in the range with at least read permission. Now let say driver wants to do the same except for one page in the range for -which its want to have write. Now driver set: +which its want to have write. Now driver set:: + range->default_flags = (1 << 63); range->pfn_flags_mask = (1 << 62); range->pfns[index_of_write] = (1 << 62); _ Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxxx are mm-fix-documentation-vm-hmmrst-sphinx-warnings.patch pinctrl-fix-pxa2xxc-build-warnings.patch