aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2021-04-16 17:30:32 +0100
committerCatalin Marinas <[email protected]>2021-04-23 14:19:10 +0100
commit8d144746ecc5fe5d64f3f1599db2192bd5c795ff (patch)
tree68ba94abea9383127a301fc4a49eca76d0ad7ee0 /lib/mpi/mpi-sub-ui.c
parent782276b4d0ad2fdd7096f8177bb7a9827f5258e4 (diff)
arm64: alternative: simplify passing alt_region
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. Signed-off-by: Mark Rutland <[email protected]> Cc: Will Deacon <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions