[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5EB3BFCD089AD643B9BB63439F5FD5E98419EFBE@SHAASIEXM01.ASIA.ROOT.PRI>
Date: Thu, 27 Oct 2011 08:31:08 +0000
From: Barry Song <Barry.Song@....com>
To: Vinod Koul <vinod.koul@...el.com>
CC: Arnd Bergmann <arnd@...db.de>,
Jassi Brar <jaswinder.singh@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
DL-SHA-WorkGroupLinux <Workgroup.Linux@....com>,
Rongjun Ying <Rongjun.Ying@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: RE: [PATCH v4] dmaengine: add CSR SiRFprimaII DMAC driver
> -----Original Message-----
> From: linux-arm-kernel-bounces@...ts.infradead.org
> [mailto:linux-arm-kernel-bounces@...ts.infradead.org] On Behalf Of Vinod Koul
> Sent: 2011年10月27日 16:19
> To: Barry Song
> Cc: Arnd Bergmann; Jassi Brar; Linus Walleij; linux-kernel@...r.kernel.org;
> DL-SHA-WorkGroupLinux; Rongjun Ying; Barry Song;
> linux-arm-kernel@...ts.infradead.org
> Subject: Re: [PATCH v4] dmaengine: add CSR SiRFprimaII DMAC driver
>
> On Mon, 2011-10-17 at 20:08 -0700, Barry Song wrote:
> > From: Rongjun Ying <Rongjun.Ying@....com>
> >
> > Cc: Jassi Brar <jaswinder.singh@...aro.org>
> > Cc: Arnd Bergmann <arnd@...db.de>
> > Cc: Linus Walleij <linus.walleij@...aro.org>
> > Signed-off-by: Rongjun Ying <rongjun.ying@....com>
> > Signed-off-by: Barry Song <Baohua.Song@....com>
> > ---
> > -v4:
> > add error handler in probe;
> > free resource in remove;
> > add necessary comments in source codes;
> > fix the mismatch of license between file head and MODULE_LINCENSE;
> > define MACRO to replace magic number for xlen/dma_width boundary.
> Barry,
>
> You should _always_ run checkpatch before sending patches. It should
> have 0 errors.
>
> ERROR: trailing whitespace
> #773: FILE: drivers/dma/sirf-dma.c:649:
> +^I$
Sorry for losing this one.
>
>
> Also there are bunch of 80char warning, see if you can reduce/eliminate
> them without sacrificing the code readability, and looking at them it
> seems possible
>
> Also, Please ensure you send patches which compile with ZERO warnings:
> drivers/dma/sirf-dma.c: In function 'sirfsoc_dma_probe':
> drivers/dma/sirf-dma.c:616: warning: assignment from incompatible pointer
> type
> drivers/dma/sirf-dma.c:617: warning: assignment from incompatible pointer
> type
> which comes from the fact that your prep_interleaved_dma does not have
> last argument of flags.
> On the second one you have not rebased to patch from Jassi which I
> applied after converting direction stuff.
Ok. will do soon and send fix tomorrow. That should be ok to catch 3.2 merge window.
>
> --
> ~Vinod
>
-barry
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
Powered by blists - more mailing lists