Skip to contentSkip to conversation

qerror.h: Swap definitions that were not in alphabetical order

PATCH In review Alberto Garcia 2 participants 2 messages Feb 20, 2015 – Feb 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qerror.h: Swap definitions that were not in alphabetical order

---
 include/qapi/qmp/qerror.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/qapi/qmp/qerror.h +3 -3
index 986260f..57a62d4 100644
@@ -37,12 +37,12 @@ void qerror_report_err(Error *err);
 #define QERR_BASE_NOT_FOUND \
     ERROR_CLASS_GENERIC_ERROR, "Base '%s' not found"
 
-#define QERR_BLOCK_JOB_NOT_READY \
-    ERROR_CLASS_GENERIC_ERROR, "The active block job for device '%s' cannot be completed"
-
 #define QERR_BLOCK_FORMAT_FEATURE_NOT_SUPPORTED \
     ERROR_CLASS_GENERIC_ERROR, "Block format '%s' used by device '%s' does not support feature '%s'"
 
+#define QERR_BLOCK_JOB_NOT_READY \
+    ERROR_CLASS_GENERIC_ERROR, "The active block job for device '%s' cannot be completed"
+
 #define QERR_BUS_NO_HOTPLUG \
     ERROR_CLASS_GENERIC_ERROR, "Bus '%s' does not support hotplugging"
 
Signature · 1 line
2.1.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · Alberto Garcia
---
  include/qapi/qmp/qerror.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
include/qapi/qmp/qerror.h +0 -2
index 986260f..57a62d4 100644
@@ -37,12 +37,12 @@ void qerror_report_err(Error *err);
  #define QERR_BASE_NOT_FOUND \
      ERROR_CLASS_GENERIC_ERROR, "Base '%s' not found"
 
-#define QERR_BLOCK_JOB_NOT_READY \
-    ERROR_CLASS_GENERIC_ERROR, "The active block job for device '%s' cannot be completed"

include/qapi/qmp/qerror.h void qerror_report_err(Error *err); · line 48

Quoted 10 lines
include/qapi/qmp/qerror.h +3 -1
-
  #define QERR_BLOCK_FORMAT_FEATURE_NOT_SUPPORTED \
      ERROR_CLASS_GENERIC_ERROR, "Block format '%s' used by device '%s' does not support feature '%s'"
 
+#define QERR_BLOCK_JOB_NOT_READY \
+    ERROR_CLASS_GENERIC_ERROR, "The active block job for device '%s' cannot be completed"
+
  #define QERR_BUS_NO_HOTPLUG \
      ERROR_CLASS_GENERIC_ERROR, "Bus '%s' does not support hotplugging"