Re: [PATCH] powerpc/syscalls: Simplify do_mmap2()
From: Michael Ellerman
Date: Fri Aug 27 2021 - 09:22:38 EST
On Fri, 25 Jun 2021 10:58:33 +0000 (UTC), Christophe Leroy wrote:
> When shift is nul, operations remain valid so no test needed.
> And 'ret' is unnecessary.
> And use IS_ALIGNED() to check alignment, that's more clear.
Applied to powerpc/next.
[1/1] powerpc/syscalls: Simplify do_mmap2()