[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1222440528.5012.19.camel@sauron>
Date: Fri, 26 Sep 2008 17:48:48 +0300
From: Artem Bityutskiy <dedekind@...radead.org>
To: Julien Brunel <brunel@...u.dk>
Cc: haver@...t.ibm.com, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] drivers/mtd/ubi: Bad IS_ERR test
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 (Битюцкий Артём)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists