From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] common/dpaax: fix uninitialized table case Date: Thu, 25 Oct 2018 00:32:57 +0200 Message-ID: <3132458.qs6ExD1oQb@xps> References: <20181017090517.14530-1-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Shreyansh Jain Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id CCD5F25B3 for ; Thu, 25 Oct 2018 00:32:56 +0200 (CEST) In-Reply-To: <20181017090517.14530-1-shreyansh.jain@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/10/2018 11:05, Shreyansh Jain: > There is a possibility that either because of missing device tree entry > or lack of memory, the PA-VA table might not be available. But, the > table being transparent, the callers don't necessary check for its > initialization state. This is explicitly done during update and > translation call. > > Fixes: 2f3d633aa593 ("common/dpaax: add library for PA/VA translation table") > > Signed-off-by: Shreyansh Jain Applied, thanks