diff options
| author | Pan Bian <bianpan2016@163.com> | 2018-11-28 11:20:03 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 15:26:47 +0100 |
| commit | b53834869411c300a33f0e11c829d312f210ba48 (patch) | |
| tree | afc6901cb5332e7c9c7a920af0c65fd873ac685e /scripts | |
| parent | 05d90b19b7032521c59c80b6e36a8035e21a1a5c (diff) | |
ubi: Do not drop UBI device reference before using
[ Upstream commit e542087701f09418702673631a908429feb3eae0 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
