From patchwork Tue Dec 8 12:33:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 40633 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id ED5C3B7BBD for ; Wed, 9 Dec 2009 00:25:44 +1100 (EST) Received: from localhost ([127.0.0.1]:60272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI04U-0002Ea-3M for incoming@patchwork.ozlabs.org; Tue, 08 Dec 2009 08:25:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHzGW-0008Ks-IO for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:34:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHzGQ-0008GO-En for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:34:03 -0500 Received: from [199.232.76.173] (port=46109 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHzGQ-0008G9-4X for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:33:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36820) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHzGP-0001MZ-MW for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:33:57 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB8CXuIY022205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Dec 2009 07:33:56 -0500 Received: from crossbow.pond.sub.org (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB8CXt1G011805; Tue, 8 Dec 2009 07:33:56 -0500 Received: by crossbow.pond.sub.org (Postfix, from userid 500) id C194A20BE7; Tue, 8 Dec 2009 13:33:54 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Tue, 08 Dec 2009 13:33:54 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: lcapitulino@redhat.com Subject: [Qemu-devel] [FOR 0.12 PATCH] Fix recently added QERR_ definitions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Commits c7c338c4, 41471a23, 7a046f5f and a488be27 used lower_case_with_underscores for class values. Existing usage CamelCase. ChangeToThatForConsistency. Signed-off-by: Markus Armbruster --- qerror.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qerror.h b/qerror.h index 09e32b9..9e220d6 100644 --- a/qerror.h +++ b/qerror.h @@ -59,16 +59,16 @@ QError *qobject_to_qerror(const QObject *obj); "{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }" #define QERR_FD_NOT_FOUND \ - "{ 'class': 'fd_not_found', 'data': { 'name': %s } }" + "{ 'class': 'FdNotFound', 'data': { 'name': %s } }" #define QERR_FD_NOT_SUPPLIED \ - "{ 'class': 'fd_not_supplied', 'data': {} }" + "{ 'class': 'FdNotSupplied', 'data': {} }" #define QERR_INVALID_BLOCK_FORMAT \ "{ 'class': 'InvalidBlockFormat', 'data': { 'name': %s } }" #define QERR_INVALID_PARAMETER \ - "{ 'class': 'invalid_parameter', 'data': { 'name': %s } }" + "{ 'class': 'InvalidParameter', 'data': { 'name': %s } }" #define QERR_INVALID_PARAMETER_TYPE \ "{ 'class': 'InvalidParameterType', 'data': { 'name': %s,'expected': %s } }" @@ -95,7 +95,7 @@ QError *qobject_to_qerror(const QObject *obj); "{ 'class': 'UndefinedError', 'data': {} }" #define QERR_TOO_MANY_FILES \ - "{ 'class': 'fd_too_many_files', 'data': {} }" + "{ 'class': 'TooManyFiles', 'data': {} }" #define QERR_VNC_SERVER_FAILED \ "{ 'class': 'VNCServerFailed', 'data': { 'target': %s } }"