summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorPaolo Bonzini2020-11-30 13:21:12 +0100
committerPaolo Bonzini2020-12-10 18:15:25 +0100
commit953d0c333e2825656ba1ec5bd1c18bc53485b39c (patch)
treecfc259543ddbcbd91a1f3ac3f5e6e50fa2fb3217 /scripts/kernel-doc
parentRevert "docs: temporarily disable the kernel-doc extension" (diff)
downloadqemu-953d0c333e2825656ba1ec5bd1c18bc53485b39c.tar.gz
qemu-953d0c333e2825656ba1ec5bd1c18bc53485b39c.tar.xz
qemu-953d0c333e2825656ba1ec5bd1c18bc53485b39c.zip
scripts: kernel-doc: remove unnecessary change wrt Linux
A comment in kernel-doc mentions QEMU's qatomic_set macro, but since this code originated in Linux we should just revert it and stay as close to the kernel's copy of the script as possible. The change was introduced (more or less unintentionally) in QEMU commit commit d73415a31547, which did a global search-and-replace of QEMU's atomic access macros. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index b95bae3654..4b19851b2d 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1758,7 +1758,7 @@ sub dump_function($$) {
# If you mess with these regexps, it's a good idea to check that
# the following functions' documentation still comes out right:
# - parport_register_device (function pointer parameters)
- # - qatomic_set (macro)
+ # - atomic_set (macro)
# - pci_match_device, __copy_to_user (long return type)
if ($define && $prototype =~ m/^()([a-zA-Z0-9_~:]+)\s+/) {