]> Git Repo - qemu.git/commitdiff
scripts: kernel-doc: remove unnecessary change wrt Linux
authorPaolo Bonzini <[email protected]>
Mon, 30 Nov 2020 12:21:12 +0000 (07:21 -0500)
committerPaolo Bonzini <[email protected]>
Thu, 10 Dec 2020 17:15:25 +0000 (12:15 -0500)
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
scripts/kernel-doc

index b95bae36543cfc7e8e0e2913d430580b8b85de87..4b19851b2dbab1194948ea0eb57b12168c9f9761 100755 (executable)
@@ -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+/) {
This page took 0.034898 seconds and 4 git commands to generate.