]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc_parser: handle struct member macro VIRTIO_DECLARE_FEATURES(name)
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 2 Mar 2026 16:40:53 +0000 (17:40 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 3 Mar 2026 17:47:24 +0000 (10:47 -0700)
commit97d4e70bc2c6f75911a9a5e1a75f2de13fde9b6b
tree2bf04323c07596c6490116a116c1c63084b61274
parent9bff5121fe22fdd0bb5bd6f744e136ec20bf7b95
docs: kdoc_parser: handle struct member macro VIRTIO_DECLARE_FEATURES(name)

Parse the macro VIRTIO_DECLARE_FEATURES(name) and expand it to its
definition. These prevents one build warning:

WARNING: include/linux/virtio.h:188 struct member 'VIRTIO_DECLARE_FEATURES(features' not described in 'virtio_device'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <6f62e1f1210e74906fa50f4e937f66f54813661b.1772469446.git.mchehab+huawei@kernel.org>
tools/lib/python/kdoc/kdoc_parser.py