From patchwork Wed Apr 6 11:45:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paulina Szubarczyk X-Patchwork-Id: 8761551 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EEB519F36E for ; Wed, 6 Apr 2016 11:49:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E5F5C201C8 for ; Wed, 6 Apr 2016 11:49:07 +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 1F814201D3 for ; Wed, 6 Apr 2016 11:49:07 +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 1anlvb-0003uk-SI; Wed, 06 Apr 2016 11:47:19 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anlvb-0003uI-1m for xen-devel@lists.xenproject.org; Wed, 06 Apr 2016 11:47:19 +0000 Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id 61/8D-22167-647F4075; Wed, 06 Apr 2016 11:47:18 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMIsWRWlGSWpSXmKPExsVyMfS6s67rd5Z wg//LDSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oyVSz6wF3xhqVizditzA+N0li5GLg4hgRmM EndnnAVzWARmsUo8/30ezJEQ2MYq0Ta/lbGLkRPIiZHYeOk3G4RdJbFw2xQWEFtIQEvi0soVU KOmMklMuTcDLMEmYCYxc/JPMFtEIFzibf8OZpAiZoE5jBL7310FmyQsECTx9MksJhCbRUBV4v +uB2ANvALeEh++/WeF2CYncfLYZDCbU8BH4sGS40wQm70lfj/byAZRLyhxcuYToF4OoAXqEuv nCYGEmQXkJZq3zmaewCg8C0nVLISqWUiqFjAyr2JUL04tKkst0rXQSyrKTM8oyU3MzNE1NDDV y00tLk5MT81JTCrWS87P3cQIDHQGINjBeLDZ+RCjJAeTkiiv0AeWcCG+pPyUyozE4oz4otKc1 OJDjDIcHEoSvAu+AuUEi1LTUyvSMnOAMQeTluDgURLhvQ2S5i0uSMwtzkyHSJ1itOTY8vvaWi aOBT9uA8ltU++tZRJiycvPS5US590E0iAA0pBRmgc3DpYWLjHKSgnzMgIdKMRTkFqUm1mCKv+ KUZyDUUmY9wfIFJ7MvBK4ra+ADmICOqhemAnkoJJEhJRUA2Pame+tGtuuJZgk7l1xj/FYj9uN EnsGw9X2spLNdbdEbG3nrpo4g89OuCNgA4eBSceiU2JcBnE5jEueJOuqGhr0/Wxeb9q9I15pO 8fpaa/LpJ/v0+vuetZc1jHDaX+3odie6ztu5lz8nLBT54L2w3U3kpSjTu3TvcIrHeQ/STRu4v 1oVcVTj5RYijMSDbWYi4oTAQrgblIGAwAA X-Env-Sender: paulinaszubarczyk@gmail.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1459943237!33246275!1 X-Originating-IP: [209.85.215.67] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.28; banners=-,-,- X-VirusChecked: Checked Received: (qmail 50753 invoked from network); 6 Apr 2016 11:47:17 -0000 Received: from mail-lf0-f67.google.com (HELO mail-lf0-f67.google.com) (209.85.215.67) by server-5.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 6 Apr 2016 11:47:17 -0000 Received: by mail-lf0-f67.google.com with SMTP id o124so4089019lfb.2 for ; Wed, 06 Apr 2016 04:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x/XVevb0KY99tsTMGs88yyS3ZbLZ6M4QL+EEKaC6XQQ=; b=btaan7z2vodiXCOyqp69lGMt+sQDLqDdsvkX5nDLOlJmx4KLVisJJNPa0n+xTUN2IK ecszTybF2oJe4rcwDHjHAD8nvFz5MI56edrvbRxvQb3I1hx7OGpb//2fI10/rcKItLse M2WxJTnHkBHC0Zwug8Ybs2lm5TdMTVY0axc4w0m5eleydDv5q1mhHdPFzPq08s9nCkj2 J5xE+vuPZYnIXmtmQolRO/wZ1Tqk2elE/CDEhSffIkWH2Kruv8A+9EjE8qCf2gsXD4s1 rNJZo023U3JNP1VZJxUm5T/oHh5gRQNVrHTLFoTSSJmssLrT+DN9J7NOmL0aM3ofy3lD Mw8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=x/XVevb0KY99tsTMGs88yyS3ZbLZ6M4QL+EEKaC6XQQ=; b=Kpe1Y+hm+nWEDsiMGdBmpUorIi0Ze2uRvCBmI/ZgVReSpE/SaotArHf+VHIvEx7wY6 Npv6JTH1RNCJ3V7KOAAClP4laPPBNjPdt/jiBbYmsAvAvnu7t26AGb3a72YrM+vPLSy0 0rn3UyaO2kAbz3zmBeVQhAc8sKZ6o/xXOlzMYJ9/Ez23ELar2XEY0FkELYj/rTmoDMuy 73/iepxe1Pv/1U/7tGSNdw32ZYvhyLYxwe43WcEAxT2CkzuIsLmuTatkwbzRpbnQERPM yQSs7v/ZwJpG7Sx4mn1GhS4YxpkH6MKJALfPyH2jgPEGb7N8N/onL9V4JmYt6O/1cC4d LZ1g== X-Gm-Message-State: AD7BkJIKsnbV3Wy7hX/2mYd82O0aQkYHWZ934G4Yibbbojr+ZZZq4H+fKHBVBbU2Qqod6w== X-Received: by 10.25.150.147 with SMTP id y141mr1191364lfd.95.1459943237299; Wed, 06 Apr 2016 04:47:17 -0700 (PDT) Received: from localhost.localdomain (84-10-74-207.static.chello.pl. [84.10.74.207]) by smtp.gmail.com with ESMTPSA id ke9sm407808lbc.28.2016.04.06.04.47.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Apr 2016 04:47:16 -0700 (PDT) From: Paulina Szubarczyk To: xen-devel@lists.xenproject.org, roger.pau@citrix.com, George.Dunlap@eu.citrix.com Date: Wed, 6 Apr 2016 13:45:56 +0200 Message-Id: <1459943163-18697-4-git-send-email-paulinaszubarczyk@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459943163-18697-1-git-send-email-paulinaszubarczyk@gmail.com> References: <1459943163-18697-1-git-send-email-paulinaszubarczyk@gmail.com> MIME-Version: 1.0 Cc: ian.jackson@eu.citrix.com, dario.faggioli@citrix.com, wei.liu2@citrix.com, ian.campbell@citrix.com, Paulina Szubarczyk Subject: [Xen-devel] [PATCH v2 03/10] libxl: fix return value of libxl__device_pci_destroy_all 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 Return rc value instead of always 0. Signed-off-by: Paulina Szubarczyk Acked-by: Roger Pau Monné --- tools/libxl/libxl_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c index 8549378..b667dba 100644 --- a/tools/libxl/libxl_pci.c +++ b/tools/libxl/libxl_pci.c @@ -1602,7 +1602,7 @@ int libxl__device_pci_destroy_all(libxl__gc *gc, uint32_t domid) } free(pcidevs); - return 0; + return rc; } int libxl__grant_vga_iomem_permission(libxl__gc *gc, const uint32_t domid,