linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] filemap: fix htmldoc warning for mapping_align_index()
@ 2024-08-27  8:42 Pankaj Raghav (Samsung)
  2024-08-30 13:14 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Raghav (Samsung) @ 2024-08-27  8:42 UTC (permalink / raw)
  To: brauner, sfr; +Cc: linux-next, mcgrof, willy, linux-fsdevel, Pankaj Raghav

From: Pankaj Raghav <p.raghav@samsung.com>

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>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: c104d25f8c49 ("filemap: allocate mapping_min_order folios in the page cache")
---
This applies to the vfs.blocksize branch on the vfs tree.

 include/linux/pagemap.h | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
2.44.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-30 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27  8:42 [PATCH] filemap: fix htmldoc warning for mapping_align_index() Pankaj Raghav (Samsung)
2024-08-30 13:14 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).