Re: [PATCH] asm-generic: dma: Add BUG_ON for uninitialized dma_ops

From: FUJITA Tomonori
Date: Thu Jan 21 2010 - 20:12:12 EST


On Wed, 20 Jan 2010 11:08:31 +0100
monstr@xxxxxxxxx wrote:

> From: Michal Simek <monstr@xxxxxxxxx>
>
> Check that dma_ops are initialized correctly. Without this
> checking you get kernel fault and you don't know where the problem is.

Hmm, dma_ops is initialized in early architecture-specific boot-up
code. We don't change it often. I don't think that we need much time
to find where problems are.

The benefit is insufficient to justify the overhead.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/