]> www.infradead.org Git - users/dwmw2/linux.git/commit
riscv: Remove extra variable in patch_text_nosync()
authorSamuel Holland <samuel.holland@sifive.com>
Wed, 27 Mar 2024 16:04:46 +0000 (09:04 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Jun 2024 14:36:33 +0000 (07:36 -0700)
commit47742484ee162394d6695e1c9b6894f5b6c226d4
tree39bc36506c4cb1f1260eacdc3850c7ffb7a3b161
parenteaee5487563089bff6ea6dbec38446826dc054cd
riscv: Remove extra variable in patch_text_nosync()

This cast is superfluous, and is incorrect anyway if compressed
instructions may be present.

Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240327160520.791322-8-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/patch.c