[PATCH] ubi: Fix early logging
Richard Weinberger
richard at nod.at
Thu Feb 25 06:36:12 PST 2016
Am 25.02.2016 um 14:24 schrieb Joe Perches:
> From: Richard Weinberger <richard at nod.at>
> []
>> We must not use ubi_* log functions before the ubi_device
>> struct is initialized.
>> And while we are here, define a sane pr_fmt and add new lines to
>> existing pr_* calls.
>
> I think it'd be better to use and extend the patch I sent
> for this problem.
>
> https://patchwork.ozlabs.org/patch/587057/
>
> Add a state check of the ubi pointer in the ubi_<level>
> functions and do the right thing there.
Please send such a patch for UBI. :-)
Thanks,
//richard
More information about the linux-mtd
mailing list