Skip to contentSkip to conversation

docs/mm: Fix braces

PATCH Applied Manuel Ebner 5 participants 6 messages Jun 29 – Jun 30

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs/mm: Fix braces

Correct typos in mm documentation by balancing parentheses.

---
[v2]
fix commit message
add tags

---
 Documentation/mm/hmm.rst           | 4 ++--
 Documentation/mm/process_addrs.rst | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/mm/hmm.rst +2 -2
index 7d61b7a8b65b..54c461e7a143 100644
@@ -191,7 +191,7 @@ like a CPU page fault. The usage pattern is::
       mmap_read_unlock(mm);
 
       take_lock(driver->update);
-      if (mmu_interval_read_retry(&ni, range.notifier_seq) {
+      if (mmu_interval_read_retry(&ni, range.notifier_seq)) {
           release_lock(driver->update);
           goto again;
       }
@@ -316,7 +316,7 @@ between device driver specific code and shared common code:
    system memory and device private memory.
 
    One of the first steps migrate_vma_setup() does is to invalidate other
-   device's MMUs with the ``mmu_notifier_invalidate_range_start(()`` and
+   device's MMUs with the ``mmu_notifier_invalidate_range_start()`` and
    ``mmu_notifier_invalidate_range_end()`` calls around the page table
    walks to fill in the ``args->src`` array with PFNs to be migrated.
    The ``invalidate_range_start()`` callback is passed a
Documentation/mm/process_addrs.rst +1 -1
index 851680ead45f..b391502fbfd6 100644
@@ -724,7 +724,7 @@ the zap and the invocation of :c:func:`!free_pgtables`.
 
 Since it is assumed that all such steps have been taken, page table entries are
 cleared without page table locks (in the :c:func:`!pgd_clear`, :c:func:`!p4d_clear`,
-:c:func:`!pud_clear`, and :c:func:`!pmd_clear` functions.
+:c:func:`!pud_clear`, and :c:func:`!pmd_clear` functions).
 
 .. note:: It is possible for leaf page tables to be torn down independent of
           the page tables above it as is done by
Signature · 1 line
2.54.0
Reviewed-by
#4 lore raw
Quoted 4 lines · On Mon, 29 Jun 2026 17:06:19 -0700 SJ Park <[email protected]> wrote:
Quoted 1 line · On Mon, 29 Jun 2026 18:11:56 +0200 Manuel Ebner <[email protected]> wrote:

Correct typos in mm documentation by balancing parentheses.

Quoted 8 lines

Good eyes!

Quoted 4 lines

I mean,

Sorry for the noise.

Thanks,
SJ

[...]

maintainer Applied
#5 lore raw
In reply to Manuel Ebner
Quoted 5 lines · Manuel Ebner

Correct typos in mm documentation by balancing parentheses.

Quoted 8 lines

---
[v2]
fix commit message
add tags

---
 Documentation/mm/hmm.rst           | 4 ++--
 Documentation/mm/process_addrs.rst | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

jon