[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1396964655.26672.67.camel@sauron.fi.intel.com>
Date: Tue, 08 Apr 2014 16:44:15 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Tanya Brokhman <tlinder@...eaurora.org>
Cc: linux-mtd@...ts.infradead.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [RFC/PATCH] mtd: ubi: Test return value of __wl_get_peb
On Tue, 2014-04-01 at 11:01 +0300, Tanya Brokhman wrote:
> In case of an error (if there are not free PEB's for example),
> __wl_get_peb will return a negative value. In order to prevent access
> violation we need to test the returned value prior to using it later on.
>
> Signed-off-by: Tatyana Brokhman <tlinder@...eaurora.org>
Pushed to linux-ubifs.git / master, thanks!
--
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