From patchwork Wed Apr 27 11:11:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 8955001 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AD701BF29F for ; Wed, 27 Apr 2016 11:14:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7C1D20260 for ; Wed, 27 Apr 2016 11:14:27 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB8A12022A for ; Wed, 27 Apr 2016 11:14:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avNOG-0003L2-23; Wed, 27 Apr 2016 11:12:20 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avNOE-0003H2-HZ for xen-devel@lists.xenproject.org; Wed, 27 Apr 2016 11:12:18 +0000 Received: from [85.158.143.35] by server-3.bemta-6.messagelabs.com id C1/7C-07120-29E90275; Wed, 27 Apr 2016 11:12:18 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRWlGSWpSXmKPExsXitHRDpO7EeQr hBiv/6lt83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBk7z7SyFzxkr5j5pIW1gXEDWxcjJ4eEgL/E nfYGJhCbTUBH4uLcnUBxDg4RARWJ23sNQMLMAsUSX1f1sYLYwgKBEp8mNIOVswioSlzZ1skIY vMKuEjs2nOEEWKkrsTJ3ZvYQWxOAVeJtqYJLCC2EFDN09t3WCHqBSVOznzCAjFfU6J1+292CF teonnrbGaIekWJ/nkPoM7klrh9eirzBEb+WUjaZyFpn4WkfQEj8ypG9eLUorLUIl1DvaSizPS MktzEzBxdQwMzvdzU4uLE9NScxKRiveT83E2MwABkAIIdjDufOx1ilORgUhLlXdiuEC7El5Sf UpmRWJwRX1Sak1p8iFGGg0NJgjd8LlBOsCg1PbUiLTMHGAswaQkOHiUR3vo5QGne4oLE3OLMd IjUKUZdjgU/bq9lEmLJy89LlRLnTQSZIQBSlFGaBzcCFpeXGGWlhHkZgY4S4ilILcrNLEGVf8 UozsGoJMx7AGQKT2ZeCdymV0BHMAEdcfmQLMgRJYkIKakGRuW13g4ecUna7apXz84M05U3vFn rWH38xM3IqsuTmBdEaIo/K3z7okKpp2iJ/a/DzZs0edbV3Zu2rMbB6MyCWbO0Zjue+V+gsGKv 4B6FspBasXt3pC1tE3prnHN9gh6x5DxS/7Rcvtireqf33QCb5Vc3fZrW9X15x/SVbZISJzt/m s4S3BLnpcRSnJFoqMVcVJwIAMhbU63GAgAA X-Env-Sender: prvs=918322aae=roger.pau@citrix.com X-Msg-Ref: server-7.tower-21.messagelabs.com!1461755531!11621047!4 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.34; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30258 invoked from network); 27 Apr 2016 11:12:17 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-7.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 27 Apr 2016 11:12:17 -0000 X-IronPort-AV: E=Sophos;i="5.24,541,1454976000"; d="scan'208";a="350092179" From: Roger Pau Monne To: Date: Wed, 27 Apr 2016 13:11:46 +0200 Message-ID: <1461755514-23754-9-git-send-email-roger.pau@citrix.com> X-Mailer: git-send-email 2.6.4 (Apple Git-63) In-Reply-To: <1461755514-23754-1-git-send-email-roger.pau@citrix.com> References: <1461755514-23754-1-git-send-email-roger.pau@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Wei Liu , Ian Jackson , Roger Pau Monne Subject: [Xen-devel] [PATCH v3 for-4.7 08/16] libxl: fix shutdown_reason type in list_domains X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It should be an enum, not an unsigned. Signed-off-by: Roger Pau Monné Acked-by: Wei Liu Reviewed-by: Doug Goldstein --- Cc: Ian Jackson Cc: Wei Liu --- tools/libxl/xl_cmdimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 6346017..8ff54e1 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -4254,7 +4254,7 @@ static void list_domains(bool verbose, bool context, bool claim, bool numa, printf("\n"); for (i = 0; i < nb_domain; i++) { char *domname; - unsigned shutdown_reason; + libxl_shutdown_reason shutdown_reason; domname = libxl_domid_to_name(ctx, info[i].domid); shutdown_reason = info[i].shutdown ? info[i].shutdown_reason : 0; printf("%-40s %5d %5lu %5d %c%c%c%c%c%c %8.1f",