[PATCH] powerpc/syscalls: Simplify do_mmap2()

Michael Ellerman patch-notifications at ellerman.id.au
Fri Aug 27 23:16:01 AEST 2021


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()
      https://git.kernel.org/powerpc/c/316389e904f968d24d44cd96a6d171ee1ef269cf

cheers


More information about the Linuxppc-dev mailing list