[PATCH -mm] UBI: one less BUG usage

Artem Bityutskiy dedekind at infradead.org
Wed Jun 27 17:47:10 EDT 2007


On Tue, 26 Jun 2007, Randy Dunlap wrote:

> From: Randy Dunlap <randy.dunlap at oracle.com>
>
> Eliminate one BUG() usage.  The callers of major_to_device() already
> handle and report errors.  This is just another error to return.

Why is this just an error? It must never happen unles there is a bug in 
the code. Or is there a campaign against BUG() calls?

Artem.



More information about the linux-mtd mailing list