[PATCH -mm] UBI: one less BUG usage

Artem Bityutskiy dedekind at infradead.org
Thu Jun 28 12:36:34 EDT 2007


On Wed, 27 Jun 2007, Randy Dunlap wrote:
> All my patch does is allow and handle error returns from major_to_device()
> in vol_cdev_open().  vol_cdev_open() already handles errors by returning
> the error to its caller.

Yes, I see the inconsistency, I'd prefer to remove that error check 
instead.

Artem.



More information about the linux-mtd mailing list