[PATCH 00/38] Clean up usage of the endianness flag