[PATCH] powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()

Segher Boessenkool segher at kernel.crashing.org
Wed Feb 20 07:15:41 AEDT 2019


On Mon, Feb 18, 2019 at 11:49:18AM +1100, Michael Ellerman wrote:
> Balbir Singh <bsingharora at gmail.com> writes:
> > Fair enough, my point was that the compiler can help out. I'll see what
> > -Wconversion finds on my local build :)
> 
> I get about 43MB of warnings here :)

Yes, -Wconversion complains about a lot of things that are idiomatic C.
There is a reason -Wconversion is not in -Wall or -Wextra.


Segher


More information about the Linuxppc-dev mailing list