From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id C29BC1B487 for ; Thu, 27 Sep 2018 14:43:17 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5B8BE21FDD; Thu, 27 Sep 2018 08:43:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 27 Sep 2018 08:43:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=vyCQ14UBEHsxD8mUMJkftprKgA eWBVT0Qlzf6Y6DjrM=; b=dqdvPqwFYdhQ6OF7e4t9Po8LiUoMisppwrkfzxzIG5 xUzumTa2otJsiU4HMnjnVoRplBqd+/zNO60mzs0z81Ndd4iN/9VLbCJaYhFu8iem nq/YyBOr31pdrywUC0O57eUVBiOd8kTauqU/mk2DB24Wvs/xhyEI9AG2afYr4QTT g= 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-sender:x-me-sender:x-sasl-enc; s=fm3; bh=vyCQ14 UBEHsxD8mUMJkftprKgAeWBVT0Qlzf6Y6DjrM=; b=fCMYT6+StUsB3hn6ezTnYv 03tQhV0XyG4EbnYNexVgTS/miMEstd9AzdqzU4H8pqjhXA9Wm3PBocUFWfR4znfa Z6oBWGSPiyKN2f22MnzAx99BPPAhsW4yAKJ4ooOtUUfgvSjA2OzUmIpE3eoyd95G KZQ75IWmCa2vpYsJLV0VckpfNK1YxKgkocdvNUEyyLhjqWt1tTfTiOhRLV3bzGL8 XLgHHDdidB8L1zvhM1ww+XqKmHYUpYmSjrJ3oD9VP/cjdY8iDvLmpAPtmODQxq90 HuWGcg+VeeE6zCMxOZytTCXllrnwCC1riAz0REDvnY7W5HcwUT0UmADeUGt9CAIg == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7BA8EE40A2; Thu, 27 Sep 2018 08:43:16 -0400 (EDT) From: Thomas Monjalon To: "Xu, Rosen" Cc: dev@dpdk.org, "Zhang, Tianfei" Date: Thu, 27 Sep 2018 14:43:15 +0200 Message-ID: <3456660.9EhADgnazd@xps> In-Reply-To: <0E78D399C70DA940A335608C6ED296D73A28D790@SHSMSX104.ccr.corp.intel.com> References: <20180925220828.11882-1-thomas@monjalon.net> <0E78D399C70DA940A335608C6ED296D73A28D790@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bus/ifpga: remove useless driver cast 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: Thu, 27 Sep 2018 12:43:18 -0000 > > The rte_afu_driver is assigned to rte_afu_device.driver during probing. > > There is no need of accessing the rte_afu_driver via rte_device.driver and > > type casting to its container. > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Rosen Xu Applied