[v3,0/3] ARM: Make the dumped instructions are consistent with the disassembled ones

Message ID 20221014015956.2006-1-thunder.leizhen@huawei.com
Headers
Series ARM: Make the dumped instructions are consistent with the disassembled ones |

Message

Zhen Lei Oct. 14, 2022, 1:59 a.m. UTC
  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 (3):
  ARM: Fix some check warnings of tool sparse
  ARM: Refactor dump_instr()
  ARM: Make the dumped instructions are consistent with the disassembled
    ones

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