qerror.h: Swap definitions that were not in alphabetical order
PATCH 1/1 qerror.h: Swap definitions that were not in alphabetical order
Signed-off-by Alberto Garcia <[email protected]>
--- include/qapi/qmp/qerror.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/qapi/qmp/qerror.h +3 -3
@@ -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
Quoted 16 lines · Alberto Garcia
Signed-off-by Alberto Garcia <[email protected]>--- include/qapi/qmp/qerror.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/qapi/qmp/qerror.h +0
-2@@ -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"
Reviewed-by John Snow <[email protected]>