linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [kbuild] [slave-dma:for-linus 55/57] drivers/dma/sh/rcar-hpbdma.c:627:10-15: ERROR: iterator var
@ 2014-06-02 11:09 Laurent Pinchart
  2014-06-02 11:26 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2014-06-02 11:09 UTC (permalink / raw)
  To: linux-sh

Hi,

On Monday 02 June 2014 10:33:42 Dan Carpenter wrote:
> tree:   git://git.infradead.org/users/vkoul/slave-dma.git for-linus
> head:   654fa24965aafcb4bb8a1a14400c5ecea3be76b6
> commit: ebc6d2d9c8cd48c351da84dd467c0edddc149ded [55/57] dmaengine: shdma:
> Enable driver compilation with COMPILE_TEST
> >> drivers/dma/sh/rcar-hpbdma.c:627:10-15: ERROR: iterator variable bound on
> >> line 626 cannot be NULL
> --
> >> drivers/dma/sh/shdma-base.c:812:7-12: ERROR: iterator variable bound on
> >> line 808 cannot be NULL
> --
> >> drivers/dma/sh/shdmac.c:581:10-15: ERROR: iterator variable bound on line
> >> 580 cannot be NULL
> --
> >> drivers/dma/sh/sudmac.c:303:10-15: ERROR: iterator variable bound on line
> >> 302 cannot be NULL
>
> Please consider folding the attached diff :-)

The shdma_for_each_chan iterator can in theory iterate over NULL elements. 
I'll need to check whether it can happen in practice before applying the 
proposed fixes.

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-02 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 11:09 [kbuild] [slave-dma:for-linus 55/57] drivers/dma/sh/rcar-hpbdma.c:627:10-15: ERROR: iterator var Laurent Pinchart
2014-06-02 11:26 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).