Re: [PATCH] drivers/mtd/ubi: Bad IS_ERR test

Artem Bityutskiy
2008-09-26T14:50:14Z

On Fri, 2008-09-26 at 15:27 +0200, Julien Brunel wrote:
> In case of error, the function add_volume returns an ERR pointer. The
> result of IS_ERR, which is supposed to be used in a test as it is, is
> here checked to be less than zero, which seems odd. We suggest to
> replace this test by a simple IS_ERR test.

Pushed to ubi-2.6.git, thank you!

--
Best regards,
Artem Bityutskiy (Битюцкий Артём)