mm/shmem.c: Use new form of *@param in kernel-doc
authorAkira Yokosawa <akiyks@gmail.com>
Tue, 27 Feb 2024 05:06:48 +0000 (14:06 +0900)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 29 Feb 2024 04:19:02 +0000 (09:49 +0530)
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>
mm/shmem.c

index fb76da93d369cf6cea017fd82428203277307a24..cf36899264188f5581265f31626f6df4bb9e5381 100644 (file)
@@ -2152,8 +2152,8 @@ unlock:
  * There is no need to reserve space before calling folio_mark_dirty().
  *
  * When no folio is found, the behavior depends on @sgp:
- *  - for SGP_READ, *foliop is %NULL and 0 is returned
- *  - for SGP_NOALLOC, *foliop is %NULL and -ENOENT is returned
+ *  - for SGP_READ, *@foliop is %NULL and 0 is returned
+ *  - for SGP_NOALLOC, *@foliop is %NULL and -ENOENT is returned
  *  - for all other flags a new folio is allocated, inserted into the
  *    page cache and returned locked in @foliop.
  *