Skip to contentSkip to conversation

qapi/pragma: Tidy up comments

PATCH In review Markus Armbruster 1 participant 2 messages May 10, 2022 – May 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qapi/pragma: Tidy up comments

Commit 05ebf841ef "qapi: Enforce command naming rules" inserted new code between a comment and the code it applies to. Move the comment back to its code, and add one for the new code.

---
 qapi/pragma.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
qapi/pragma.json +2 -1
index e6a021c19c..7f810b0e97 100644
@@ -6,7 +6,7 @@
 # Whitelists to permit QAPI rule violations; think twice before you
 # add to them!
 { 'pragma': {
-    # Commands allowed to return a non-dictionary:
+    # Command names containing '_'
     'command-name-exceptions': [
         'add_client',
         'block_resize',
@@ -24,6 +24,7 @@
         'system_powerdown',
         'system_reset',
         'system_wakeup' ],
+    # Commands allowed to return a non-dictionary
     'command-returns-exceptions': [
         'human-monitor-command',
         'qom-get',
Signature · 1 line
2.35.1
#1 lore raw
Quoted 5 lines · Markus Armbruster

Commit 05ebf841ef "qapi: Enforce command naming rules" inserted new code between a comment and the code it applies to. Move the comment back to its code, and add one for the new code.

Queued.