[PATCH v4 0/2] ARM: Make the dumped instructions are consistent with the disassembled ones

From: Zhen Lei
Date: Sat Nov 26 2022 - 07:30:15 EST


v3 --> v4:
1. The sparse warnings that are not involved in the modification are
not eliminated.
2. Eliminate the sparse warnings involved in the modification when
refactor dump_instr(), no longer use a separate patch.

v2 --> v3:
1. Don't use '__force to' cleanup the sparse warnings
2. Refactor dump_instr()
3. Relace cpu_to_le{32|16}() with __mem_to_opcode_{arm|thumb16}()


v1 --> v2:
1. Cleanup sparse warnings.

Zhen Lei (2):
ARM: Refactor dump_instr()
ARM: Make the dumped instructions are consistent with the disassembled
ones

arch/arm/kernel/traps.c | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)

--
2.25.1