[PATCH next 10/11] block: Use a boolean expression instead of max() on booleans
Linus Torvalds
torvalds at linux-foundation.org
Sun Jan 28 19:59:29 UTC 2024
On Sun, 28 Jan 2024 at 11:36, David Laight <David.Laight at aculab.com> wrote:
>
> However it generates:
> error: comparison of constant ‘0’ with boolean expression is always true [-Werror=bool-compare]
> inside the signedness check that max() does unless a '+ 0' is added.
Please fix your locale. You have random garbage characters there,
presumably because you have some incorrect locale setting somewhere in
your toolchain.
Linus
More information about the dri-devel
mailing list