From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id CC79B91 for ; Mon, 29 Oct 2018 01:57:10 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4CCDA21B4E; Sun, 28 Oct 2018 20:57:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 28 Oct 2018 20:57:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=ZomzY1ZdhrHD/KqMMz2EG533RCnn1VnG8VoVVk4I9t0=; b=VErhcxPbGi08 vXXO6hQTU59lBVkofpludQH+C0YzZqS09JP6FqnM0gMKUuVeua41RVKIiUl1OLqh HS7Ggv4zTO72Xp6azKDO+dn0IMnTiPfzwxigpQNVgp52RrAUK4G6mIayhB7Id742 lXlUOKnJOrUwf8+mdw44iwuoj9x9eqM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ZomzY1ZdhrHD/KqMMz2EG533RCnn1VnG8VoVVk4I9 t0=; b=sb2tYApzrjsuOXeEitt227U6VS2a17Ra8NNhItZd7N/HbD4tfYxlkMyoe B+dvw19M0GWawSUfcpGn39IFgOw0yaqBEB9NyE8Lj8Dv4C6JHtrfR9m8Cm6bQG3S q0Ae59iApOdKu7pypWwGqBinykXkAfgNJNp0MwKoJtXgXFPYjkdLQXGuPbpHBaI2 eBs8CbpZ21liOWhS5FS4f4A50L8Llc2Vr6QZZP+jIXbDb87x5VoRRDY2Sn8m7Nwh dRokrcQDioVr/G6KJpQyxFwCKhNsoKsNvDRYZpEXZnQaNjfBnGXLn+Qwr94rWgGc Xlps/Vs0My/+oYB1odvxL987pgOSg== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5AA2AE43AC; Sun, 28 Oct 2018 20:57:09 -0400 (EDT) From: Thomas Monjalon To: Darek Stojaczyk Cc: dev@dpdk.org Date: Mon, 29 Oct 2018 01:57:15 +0100 Message-ID: <4943602.Wu5sgN3NIT@xps> In-Reply-To: <20181026075459.21637-1-dariusz.stojaczyk@intel.com> References: <20181026075459.21637-1-dariusz.stojaczyk@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] pci: propagate exact error codes in pci_probe_all_drivers() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 00:57:11 -0000 26/10/2018 09:54, Darek Stojaczyk: > In a couple of places we check its error code against -EEXIST, > but this function returned either -1, 0, or 1. > > This gets critical when hotplugging a device in secondary > process, while the same device is already plugged in the > primary. Failing to "hotplug" it in the primary will cause > the secondary to fail as well. > > Fixes: e9d159c3d534 ("eal: allow probing a device again") > Cc: thomas@monjalon.net > Cc: stable@dpdk.org No need of Cc: stable here. > Signed-off-by: Darek Stojaczyk Acked-by: Thomas Monjalon Applied, thanks