Skip to content

Commit 8d4dd9d

Browse files
akiyksChandan Babu R
authored andcommitted
mm/shmem.c: Use new form of *@param in kernel-doc
Use the form of *@param which kernel-doc recognizes now. This resolves the warnings from "make htmldocs" as reported in [1]. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: [1] https://lore.kernel.org/r/20240223153636.41358be5@canb.auug.org.au/ Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
1 parent 69fc23e commit 8d4dd9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/shmem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,8 +2152,8 @@ static int shmem_get_folio_gfp(struct inode *inode, pgoff_t index,
21522152
* There is no need to reserve space before calling folio_mark_dirty().
21532153
*
21542154
* When no folio is found, the behavior depends on @sgp:
2155-
* - for SGP_READ, *foliop is %NULL and 0 is returned
2156-
* - for SGP_NOALLOC, *foliop is %NULL and -ENOENT is returned
2155+
* - for SGP_READ, *@foliop is %NULL and 0 is returned
2156+
* - for SGP_NOALLOC, *@foliop is %NULL and -ENOENT is returned
21572157
* - for all other flags a new folio is allocated, inserted into the
21582158
* page cache and returned locked in @foliop.
21592159
*

0 commit comments

Comments
 (0)