Messages in this thread | | | From | Linus Torvalds <> | Date | Sun, 28 Jan 2024 11:59:29 -0800 | Subject | Re: [PATCH next 10/11] block: Use a boolean expression instead of max() on booleans |
| |
On Sun, 28 Jan 2024 at 11:36, David Laight <David.Laight@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
| |