Messages in this thread | | | Date | Wed, 23 Nov 2011 07:12:35 +0200 | From | Mika Westerberg <> | Subject | Re: [PATCH 2/2] dma/ep93xx_dma: prevent ep93xx_dma_tasklet() to access empty list |
| |
On Tue, Nov 22, 2011 at 02:26:52PM -0600, H Hartley Sweeten wrote: > > I still don't like the BUG_ON here. Is it even possible to get here with > an empty list now that your catching it in the tasklet?
It's there just to make sure that we don't corrupt any memory if the list is empty because of some other, yet unknown, bug.
> > But, ep93xx_dma_set_active() also has a BUG_ON test so... > > Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Thanks.
| |