Re: [PATCH next 10/11] block: Use a boolean expression instead of max() on booleans

From: Linus Torvalds
Date: Sun Jan 28 2024 - 15:00:53 EST


On Sun, 28 Jan 2024 at 11:36, David Laight <David.Laight@xxxxxxxxxx> 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