Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760508AbcJROuM (ORCPT ); Tue, 18 Oct 2016 10:50:12 -0400 Received: from mga11.intel.com ([192.55.52.93]:19767 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751638AbcJROuJ (ORCPT ); Tue, 18 Oct 2016 10:50:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,362,1473145200"; d="scan'208";a="181046029" Date: Tue, 18 Oct 2016 20:29:04 +0530 From: Vinod Koul To: Jesper Nilsson Cc: Dan Williams , dmaengine@vger.kernel.org, Guennadi Liakhovetski , linux-kernel@vger.kernel.org Subject: Re: [PATCH] DMA: nbpfaxi: check for errors from dma_map_single Message-ID: <20161018145904.GB2467@localhost> References: <20161005145131.GJ30704@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161005145131.GJ30704@axis.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 411 Lines: 13 On Wed, Oct 05, 2016 at 04:51:32PM +0200, Jesper Nilsson wrote: > Check for error return from dma_map_single. > Move the addition of the node to the list to after we check > for error, so we can reuse the list in unmapping. > > Found by enabling CONFIG_DMA_API_DEBUG. Sorry this doesnt apply for me, cna you rebase and resend. While at it, please use right subsystem name. dmaengine: nbpfaxi:... -- ~Vinod