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

From: Segher Boessenkool
Date: Tue Feb 19 2019 - 15:17:18 EST


On Mon, Feb 18, 2019 at 11:49:18AM +1100, Michael Ellerman wrote:
> Balbir Singh <bsingharora@xxxxxxxxx> 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