[PATCH] powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()
Andreas Schwab
schwab at linux-m68k.org
Sun Feb 17 00:15:18 AEDT 2019
On Feb 14 2019, Michael Ellerman <mpe at ellerman.id.au> wrote:
> The fix is simple, we need to convert the result of the bitwise && to
> an int before returning it.
Alternatively, the return type could be changed to bool, so that the
compiler does the right thing by itself.
Andreas.
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Linuxppc-dev
mailing list