Skip to content
Commit e5420877 authored by Pan Bian's avatar Pan Bian Committed by Richard Weinberger
Browse files

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: 32608703 ("UBI: Extend UBI layer debug/messaging capabilities")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent b95f83ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment