Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755534Ab2BFQSY (ORCPT ); Mon, 6 Feb 2012 11:18:24 -0500 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:34715 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753003Ab2BFQRZ (ORCPT ); Mon, 6 Feb 2012 11:17:25 -0500 Date: Mon, 6 Feb 2012 16:16:56 +0000 From: Russell King To: "Bounine, Alexandre" Cc: Vinod Koul , dan.j.williams@intel.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Jassi Brar , Kumar Gala , Matt Porter , Li Yang Subject: Re: [PATCH 01/11] dmaengine: add context parameter toprep_slave_sg and prep_dma_cyclic Message-ID: <20120206161655.GB20852@flint.arm.linux.org.uk> References: <1328218341-31436-1-git-send-email-alexandre.bounine@idt.com> <1328218341-31436-2-git-send-email-alexandre.bounine@idt.com> <20120202214350.GB4432@flint.arm.linux.org.uk> <0CE8B6BE3C4AD74AB97D9D29BD24E55202872683@CORPEXCH1.na.ads.idt.com> <1328529182.26182.92.camel@vkoul-udesk3> <0CE8B6BE3C4AD74AB97D9D29BD24E552028729F9@CORPEXCH1.na.ads.idt.com> <1328542134.26182.111.camel@vkoul-udesk3> <0CE8B6BE3C4AD74AB97D9D29BD24E55202872A3B@CORPEXCH1.na.ads.idt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0CE8B6BE3C4AD74AB97D9D29BD24E55202872A3B@CORPEXCH1.na.ads.idt.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 21 On Mon, Feb 06, 2012 at 07:56:57AM -0800, Bounine, Alexandre wrote: > At least corresponding inline functions may use specific data types > or hide the new parameter like in Russell's code example. (I believe > he forgot to pass NULL in chan->device->device_prep_slave_sg() as > the new param there). No I didn't - I gave a step by step approach. Step one is to intrduce the wrapper with no API changes at all fixing up everyone to use the wrapper. Step two is where the call in struct dma_device changes. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/