summaryrefslogtreecommitdiffstats
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-01-06 20:33:31 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-01-11 16:14:21 -0800
commit0411d6ee50e3b74a793848e4f41f45860163f5cc (patch)
tree4b4974258fc11bb9012bcf6efc865b76da470faf /mm/madvise.c
parentd09dce1fff8a9da10144e878ef4bbf90c65559e5 (diff)
downloadlinux-0411d6ee50e3b74a793848e4f41f45860163f5cc.tar.bz2
include/linux/mm: fix release_pages_arg kernel doc comment
Commit 449c796768c9 ("mm: teach release_pages() to take an array of encoded page pointers too") added the kernel doc comment for release_pages() on top of 'union release_pages_arg', so making 'make htmldocs' complains as below: ./include/linux/mm.h:1268: warning: cannot understand function prototype: 'typedef union ' The kernel doc comment for the function is already on top of the function's definition in mm/swap.c, and the new comment is actually not for the function but indeed release_pages_arg. Fixing the comment to reflect the intent would be one option. But, kernel doc cannot parse the union as below due to the attribute. ./include/linux/mm.h:1272: error: Cannot parse struct or union! Modify the comment to reflect the intent but do not mark it as a kernel doc comment. Link: https://lkml.kernel.org/r/20230106203331.127532-1-sj@kernel.org Fixes: 449c796768c9 ("mm: teach release_pages() to take an array of encoded page pointers too") Signed-off-by: SeongJae Park <sj@kernel.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions