Pan Bian e542087701 ubi: Do not drop UBI device reference before using
The UBI device reference is dropped but then the device is used as a
parameter of ubi_err. The bug is introduced in changing ubi_err's
behavior. The old ubi_err does not require a UBI device as its first
parameter, but the new one does.

Fixes: 32608703310 ("UBI: Extend UBI layer debug/messaging capabilities")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2018-12-13 22:09:44 +01:00
..
2018-04-04 23:48:05 +02:00
2015-04-13 21:05:17 +02:00
2018-06-12 16:19:22 -07:00
2017-03-24 15:33:32 +01:00
2018-08-15 00:25:20 +02:00
2018-08-15 00:25:20 +02:00
2018-06-12 16:19:22 -07:00
2018-01-18 00:18:50 +01:00