[PATCH] arm64: alternative: simplify passing alt_region

Catalin Marinas catalin.marinas at arm.com
Fri Apr 23 18:10:26 BST 2021


On Fri, 16 Apr 2021 17:30:32 +0100, Mark Rutland wrote:
> In __apply_alternatives() we take a pointer to void which we later
> assign to a pointer to struct alt_region. As all callers are passing a
> pointer to struct alt_region to begin with, it's simpler and more robust
> to take a pointer to struct alt region, so let's do so and avoid the
> need for a temporary variable.

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: alternative: simplify passing alt_region
      https://git.kernel.org/arm64/c/8d144746ecc5

-- 
Catalin




More information about the linux-arm-kernel mailing list