From: "Pankaj Raghav (Samsung)" <kernel@pankajraghav.com>
To: brauner@kernel.org, sfr@canb.auug.org.au
Cc: linux-next@vger.kernel.org, mcgrof@kernel.org,
willy@infradead.org, linux-fsdevel@vger.kernel.org,
Pankaj Raghav <p.raghav@samsung.com>
Subject: [PATCH] filemap: fix htmldoc warning for mapping_align_index()
Date: Tue, 27 Aug 2024 10:42:07 +0200 [thread overview]
Message-ID: <20240827084206.106347-2-kernel@pankajraghav.com> (raw)
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
next reply other threads:[~2024-08-27 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 8:42 Pankaj Raghav (Samsung) [this message]
2024-08-30 13:14 ` [PATCH] filemap: fix htmldoc warning for mapping_align_index() Christian Brauner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240827084206.106347-2-kernel@pankajraghav.com \
--to=kernel@pankajraghav.com \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=p.raghav@samsung.com \
--cc=sfr@canb.auug.org.au \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox