Subject: Re: [PATCH] powerpc: simplify dma_ops bug conditions

From: Muli Ben-Yehuda <[email-masked]>
Date: Thu, 13 Jul 2006 09:39:47 +0300

On Thu, Jul 13, 2006 at 04:32:52PM +1000, Jeremy Kerr wrote:

> Use BUG_ON rather than BUG to simplify the dma_ops handing,
> and remove the now-unnecessary return cases.
> 
> Booted on pseries.

Is the BUG_ON() necessary? the next line just goes and deref's it,
which should lead to a shiny NULL pointer deref.

Cheers,
Muli