Messages in this thread | | | Subject | Re: [RFC/PATCH] mtd: ubi: Test return value of __wl_get_peb | From | Artem Bityutskiy <> | Date | Tue, 08 Apr 2014 16:44:15 +0300 |
| |
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@codeaurora.org>
Pushed to linux-ubifs.git / master, thanks!
-- Best Regards, Artem Bityutskiy
| |