From patchwork Fri Feb 7 17:03:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 3606791 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 27639BF418 for ; Fri, 7 Feb 2014 17:03:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A6FA20117 for ; Fri, 7 Feb 2014 17:03:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 259AE20114 for ; Fri, 7 Feb 2014 17:03:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BB48FB702; Fri, 7 Feb 2014 09:03:46 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by gabe.freedesktop.org (Postfix) with ESMTP id BC2D6FB5F8 for ; Fri, 7 Feb 2014 09:03:43 -0800 (PST) Received: by mail-we0-f171.google.com with SMTP id u56so2528927wes.30 for ; Fri, 07 Feb 2014 09:03:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ExnrF5/RrJww15fajcJxLU/IzUiY5NHXNRYno+XLfRk=; b=fWcCWD6z+PMRC5UTXtRalL656g5Zkne2RnZrYTBIuiRk3D9Rjldf3TEPQlVWiICgCq AxtK9b1a6ocL0jpFC7mzK8sdZ829VY1//JiTiNrh4qvQwLTIfEg9MmCyou8xb6jeFy+B OtH10iS5zjvJEG1yYSMA66jMtwZr96fqbljfEzyageMsxjTjay+VXHy0w5o+VQ8TmoGs mJ/zWugBIvl3/LROrMeJVtcV0MasUH9YIgm6lZyKH+4ZCnV37BNZI2YHH2NJjwIOYhPD XUwTcZfg8KK4FuGs4O2qoPFaPq8MAS9H1lJQR5ckwCl6MzMyp+8whDfJZQRrpikVFMgS 62/Q== X-Gm-Message-State: ALoCoQmX5D17gMSfBK6aiVLWMcZj4ui4uM7sNcILUif5iDuKv6GeBq33as2YbU+3azvvV2NVFrbK X-Received: by 10.195.13.234 with SMTP id fb10mr7097631wjd.50.1391792622707; Fri, 07 Feb 2014 09:03:42 -0800 (PST) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id ea4sm9771711wib.7.2014.02.07.09.03.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Feb 2014 09:03:42 -0800 (PST) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Fri, 7 Feb 2014 17:03:37 +0000 Message-Id: <1391792619-17110-2-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1391792619-17110-1-git-send-email-thomas.wood@intel.com> References: <1391792619-17110-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 1/3] debugger: fix the -p option X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 Signed-off-by: Thomas Wood --- debugger/eudb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger/eudb.c b/debugger/eudb.c index ff77e42..4cbc2d7 100644 --- a/debugger/eudb.c +++ b/debugger/eudb.c @@ -538,7 +538,7 @@ int main(int argc, char* argv[]) { } pci_dev = intel_get_pci_device(); - if (devid != -1); + if (devid == -1) devid = pci_dev->device_id; if (identify_device(devid)) { abort();