From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755265Ab3KKTQI (ORCPT ); Mon, 11 Nov 2013 14:16:08 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:48794 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754217Ab3KKTQF (ORCPT ); Mon, 11 Nov 2013 14:16:05 -0500 Date: Mon, 11 Nov 2013 11:13:39 -0800 From: Olof Johansson To: Vinod Koul Cc: Joel Fernandes , Guennadi Liakhovetski , Sebastian Andrzej Siewior , Dan Williams , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Russell King - ARM Linux , Sekhar Nori , Matt Porter , broonie@kernel.org, Sebastian Andrzej Siewior Subject: Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status Message-ID: <20131111191339.GA10328@quad.lixom.net> References: <20131017020745.GA14013@intel.com> <20131017142755.GA4477@breakpoint.cc> <20131017134846.GG14013@intel.com> <20131025042310.GC21230@intel.com> <20131025054321.GD21230@intel.com> <20131030130325.GA18788@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131030130325.GA18788@intel.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 On Wed, Oct 30, 2013 at 06:33:25PM +0530, Vinod Koul wrote: > On Tue, Oct 29, 2013 at 09:47:55AM -0700, Olof Johansson wrote: > > This patch broke some TI platforms (using edma) due to namespace > > conflicts. The error is: > > > > ../../include/linux/dmaengine.h:54:2: error: expected identifier > > before numeric constant (for DMA_COMPLETE) > > > > .. it's because they define DMA_COMPLETE in include/platform_data/edma.h. > > > > The edma driver seems to overall lack prefixes and thus pollutes > > global namespaces, so it should be fixed up. > Yup this needs some work. > > I fixed up the error with below, can you pls verify. Pls note this is compile > tested only! > > -----><8--------------------------- > > From: Vinod Koul > Date: Wed, 30 Oct 2013 18:22:30 +0530 > Subject: [PATCH] dmanengine: fix edma driver to not define DMA_COMPLETE > > edma header defines DMA_COMPLETE, this causes issues as commit adfedd9a32e4 move > DMA_SUCCESS to DMA_COMPLETE. edma should properly namespace its defines and > needs a future fix > > Reported-by: Olof Johansson > Signed-off-by: Vinod Koul Thanks, I've applied this to fixes together with the follow-up from Sebastian. Cc:ing Mark since it touches drivers/soc. -Olof