From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH dpdk v2] pci: Initialize common rte driver pointer Date: Wed, 26 Apr 2017 11:44:02 +0200 Message-ID: <2141856.kfBhCIk2FD@xps> References: <20170426080724.23771-1-aik@ozlabs.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Alexey Kardashevskiy Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id DC42B1077 for ; Wed, 26 Apr 2017 11:44:04 +0200 (CEST) In-Reply-To: <20170426080724.23771-1-aik@ozlabs.ru> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 26/04/2017 10:07, Alexey Kardashevskiy: > The existing code initializes a PCI driver pointer but not the common one. > As the result, ring_dma_zone_reserve() in drivers/net/bnx2x/bnx2x_rxtx.c > crashed as dev->device->driver==NULL. > > This adds missing initialization. > > Signed-off-by: Alexey Kardashevskiy Applied, thanks