Re: [PATCH] ubi: do not drop UBI device reference before using

2018-11-28 Thread Boris Brezillon
On Wed, 28 Nov 2018 11:20:03 +0800 Pan Bian wrote: > 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.

[PATCH] ubi: do not drop UBI device reference before using

2018-11-27 Thread Pan Bian
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