diff options
author | 2022-09-12 17:22:06 +0100 | |
---|---|---|
committer | 2022-09-16 17:15:03 +0100 | |
commit | c5ba03260c7afad6977654d6bc7fcabbcd35c379 (patch) | |
tree | 609aec69637cc46a28bea8f43c168984481f8973 /scripts/generate_rust_analyzer.py | |
parent | arm64: alternatives: proton-pack: prepare for cap changes (diff) | |
download | linux-dev-c5ba03260c7afad6977654d6bc7fcabbcd35c379.tar.xz linux-dev-c5ba03260c7afad6977654d6bc7fcabbcd35c379.zip |
arm64: alternatives: hoist print out of __apply_alternatives()
Printing in the middle of __apply_alternatives() is potentially unsafe
and not all that helpful given these days we practically always patch
*something*.
Hoist the print out of __apply_alternatives(), and add separate prints
to __apply_alternatives() and apply_alternatives_all(), which will make
it easier to spot if either patching call goes wrong.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220912162210.3626215-5-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions