[PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

Andrew Cooper andrew.cooper3 at citrix.com
Fri Mar 7 10:49:56 PST 2025


> (int)true most definitely is guaranteed to be 1.

That's not technically correct any more.

GCC has introduced hardened bools that intentionally have bit patterns
other than 0 and 1.

https://gcc.gnu.org/gcc-14/changes.html

~Andrew



More information about the linux-mtd mailing list