[PATCH v2] ubifs: Fix the printing type of c->big_lpt
Richard Weinberger
richard.weinberger at gmail.com
Sat Oct 31 16:44:12 EDT 2020
On Sat, Oct 31, 2020 at 9:56 AM Chengsong Ke <kechengsong at huawei.com> wrote:
>
> Ubifs uses %d to print c->big_lpt, but c->big_lpt is a variable
> of type unsigned int and should be printed with %u.
Well, it is:
unsigned int big_lpt:1;
So, either 0 or 1.
Does changing it to %u silence some static checker or is there some
other problem I don't
see right now? :-)
Thanks,
//richard
More information about the linux-mtd
mailing list