mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 01:08:13 -04:00
docs: xforms_lists: allow __maybe_unused in func parameters
Bart has a patch (not yet merged) that causes kernel-doc warnings: WARNING: ./include/linux/highmem.h:235 function parameter '__maybe_unused' not described in 'clear_user_pages' Documentation/mm/highmem:211: ./include/linux/highmem.h:222: WARNING: Error in declarator or parameters Handle this by adding "__maybe_unused" to the list of known function parameter modifiers. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202604120025.jtlnpWff-lkp@intel.com/ Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260411233526.3909303-1-rdunlap@infradead.org>
This commit is contained in:
committed by
Jonathan Corbet
parent
8cfbcf36f9
commit
713e899a68
@@ -93,6 +93,7 @@ class CTransforms:
|
||||
(CMatch("__weak"), ""),
|
||||
(CMatch("__sched"), ""),
|
||||
(CMatch("__always_unused"), ""),
|
||||
(CMatch("__maybe_unused"), ""),
|
||||
(CMatch("__printf"), ""),
|
||||
(CMatch("__(?:re)?alloc_size"), ""),
|
||||
(CMatch("__diagnose_as"), ""),
|
||||
|
||||
Reference in New Issue
Block a user