From patchwork Tue Apr 26 14:52:17 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: 8939671 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 EECB0BF29F for ; Tue, 26 Apr 2016 14:55:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05E80201EF for ; Tue, 26 Apr 2016 14:55:20 +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 2FEA520120 for ; Tue, 26 Apr 2016 14:55:19 +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 1av4MJ-0007V8-Ga; Tue, 26 Apr 2016 14:53:03 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1av4MI-0007Ug-19 for xen-devel@lists.xenproject.org; Tue, 26 Apr 2016 14:53:02 +0000 Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id 15/1D-23864-DC08F175; Tue, 26 Apr 2016 14:53:01 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRWlGSWpSXmKPExsXitHSDve6ZBvl wgx3zdS2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oxt01ayFnSyV/TOmcTewPiAtYuRk0NCwF+i ZV0PG4jNJqAjcXHuTiCbg0NEQEXi9l4DkDCzQLHE11V9rCBhYYFAifX95iBhFgFViWWzO1hAb F4BF4kNne9YICbqSpzcvYkdxOYUcJXYvOAVE4gtBFSzZNNjdoh6QYmTM5+wQIzXlGjd/psdwp aXaN46mxmiXlGif94DsGskBLgl/nbbT2Dkn4WkexaS7llIuhcwMq9i1ChOLSpLLdI1NNFLKsp MzyjJTczM0TU0MNbLTS0uTkxPzUlMKtZLzs/dxAgMPwYg2MG4YrvnIUZJDiYlUd57efLhQnxJ +SmVGYnFGfFFpTmpxYcYZTg4lCR4TeqBcoJFqempFWmZOcBIgElLcPAoifA2gaR5iwsSc4sz0 yFSpxh1ORb8uL2WSYglLz8vVUqcdwpIkQBIUUZpHtwIWFReYpSVEuZlBDpKiKcgtSg3swRV/h WjOAejkjBvCMgUnsy8ErhNr4COYAI64vIhWZAjShIRUlINjLx7u8ymi5qK3/kXqrLZJGvOYq2 QW9YhJyXslrTm7t2SFvJt3+8fr67sm3ciQfCFbEuLWM2jDvdGni13bJY620xX8nRUzrjtL5P+ au0NPqHnpVe/KalM1/Bfv2hOwGmfqmNJ+3fEHPAKvbVv+oaGkEV3+FvnM5XtXL/v+hqDAxflb i97uTD5N5sSS3FGoqEWc1FxIgB7+GlxxQIAAA== X-Env-Sender: prvs=917dd492e=roger.pau@citrix.com X-Msg-Ref: server-5.tower-31.messagelabs.com!1461682370!33860613!5 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.28; banners=-,-,- X-VirusChecked: Checked Received: (qmail 63479 invoked from network); 26 Apr 2016 14:53:00 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 26 Apr 2016 14:53:00 -0000 X-IronPort-AV: E=Sophos;i="5.24,536,1454976000"; d="scan'208";a="356517687" From: Roger Pau Monne To: Date: Tue, 26 Apr 2016 16:52:17 +0200 Message-ID: <1461682343-20597-9-git-send-email-roger.pau@citrix.com> X-Mailer: git-send-email 2.6.4 (Apple Git-63) In-Reply-To: <1461682343-20597-1-git-send-email-roger.pau@citrix.com> References: <1461682343-20597-1-git-send-email-roger.pau@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Wei Liu , Ian Jackson , Roger Pau Monne Subject: [Xen-devel] [PATCH v2 for-4.7 08/14] 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",