Skip to content

Commit 19134bc

Browse files
Matthew Wilcox (Oracle)akpm00
authored andcommitted
mm: fix kernel-doc warning from tlb_flush_rmaps()
Patch series "Improve mm documentation". If you build with W=1, kernel-doc complains about tlb_flush_rmaps(). Then I ran scripts/find-unused-docs.sh against mm/ and found a large number of files which weren't included in the ReST documentation. I fixed up a couple of them, and added all those without erros to the rst files. There's a lot more work to do to organise all of this, but at least now if we have documentation that refers to these functions, we'll get a nice link to them. This patch (of 4): The vma parameter wasn't described. Link: https://lkml.kernel.org/r/20230818200630.2719595-1-willy@infradead.org Link: https://lkml.kernel.org/r/20230818200630.2719595-2-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Mike Rapoport (IBM) <rppt@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 1d024e7 commit 19134bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/mmu_gather.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ static void tlb_flush_rmap_batch(struct mmu_gather_batch *batch, struct vm_area_
6363
/**
6464
* tlb_flush_rmaps - do pending rmap removals after we have flushed the TLB
6565
* @tlb: the current mmu_gather
66+
* @vma: The memory area from which the pages are being removed.
6667
*
6768
* Note that because of how tlb_next_batch() above works, we will
6869
* never start multiple new batches with pending delayed rmaps, so

0 commit comments

Comments
 (0)