Skip to content

Commit 6f634eb

Browse files
Panky-codesbrauner
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: ab95d23 ("filemap: allocate mapping_min_order folios in the page cache") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent 31754ea commit 6f634eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/pagemap.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ mapping_min_folio_nrpages(struct address_space *mapping)
470470
/**
471471
* mapping_align_index() - Align index for this mapping.
472472
* @mapping: The address_space.
473+
* @index: The page index.
473474
*
474475
* The index of a folio must be naturally aligned. If you are adding a
475476
* new folio to the page cache and need to know what index to give it,

0 commit comments

Comments
 (0)