summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankaj Raghav <p.raghav@samsung.com>2024-08-27 10:42:07 +0200
committerChristian Brauner <brauner@kernel.org>2024-09-03 15:01:24 +0200
commit6f634eb080161baa4811a39f5ec07923ede092bc (patch)
tree9edae5d91f236e40e393cb90cfec026363ddbe00
parent31754ea6cbbc08d5bbe1fa290320c3048d8d98a3 (diff)
downloadlwn-6f634eb080161baa4811a39f5ec07923ede092bc.tar.gz
lwn-6f634eb080161baa4811a39f5ec07923ede092bc.zip
filemap: fix htmldoc warning for mapping_align_index()
Stephen reported that there is a kernel build warning due to a missing description of a parameter in mapping_align_index(). Add the missing index parameter in the comment description. Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Link: https://lore.kernel.org/r/20240827084206.106347-2-kernel@pankajraghav.com Fixes: ab95d23bab22 ("filemap: allocate mapping_min_order folios in the page cache") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--include/linux/pagemap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 55b254d951da..6c0dde447c98 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -470,6 +470,7 @@ mapping_min_folio_nrpages(struct address_space *mapping)
/**
* mapping_align_index() - Align index for this mapping.
* @mapping: The address_space.
+ * @index: The page index.
*
* The index of a folio must be naturally aligned. If you are adding a
* new folio to the page cache and need to know what index to give it,