Re: [PATCH] dma: mxs-dma: Fix build warnings with W=1

2013-01-08 Thread Vinod Koul
On Mon, Jan 07, 2013 at 11:48:39PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Fix the following warnings when building with W=1 option: > > drivers/dma/mxs-dma.c: In function 'mxs_dma_alloc_chan_resources': > drivers/dma/mxs-dma.c:368:25: warning: comparison between signed and

Re: [PATCH] dma: mxs-dma: Fix build warnings with W=1

2013-01-08 Thread Vinod Koul
On Mon, Jan 07, 2013 at 11:48:39PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following warnings when building with W=1 option: drivers/dma/mxs-dma.c: In function 'mxs_dma_alloc_chan_resources': drivers/dma/mxs-dma.c:368:25: warning: comparison

[PATCH] dma: mxs-dma: Fix build warnings with W=1

2013-01-07 Thread Fabio Estevam
From: Fabio Estevam Fix the following warnings when building with W=1 option: drivers/dma/mxs-dma.c: In function 'mxs_dma_alloc_chan_resources': drivers/dma/mxs-dma.c:368:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/dma/mxs-dma.c: In function

[PATCH] dma: mxs-dma: Fix build warnings with W=1

2013-01-07 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Fix the following warnings when building with W=1 option: drivers/dma/mxs-dma.c: In function 'mxs_dma_alloc_chan_resources': drivers/dma/mxs-dma.c:368:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]