[v3,0/2] Modify die() for LoongArch

Message ID 1692005704-19126-1-git-send-email-yangtiezhu@loongson.cn
Headers
Series Modify die() for LoongArch |

Message

Tiezhu Yang Aug. 14, 2023, 9:35 a.m. UTC
  This is based on 6.5-rc6.

There is a related build warning reported by kernel test robot:
 
  warning: 'noreturn' function does return

it is better to fix it, so send this v3.

v3:
  -- Make each patch can be built without errors and warnings.

v2: 
  -- Update the commit message to give more detailed info, split into
     two individual patches, suggested by Maciej, thank you.

Tiezhu Yang (2):
  LoongArch: Remove noreturn attribute for die()
  LoongArch: Modify the declaration for die()

 arch/loongarch/include/asm/ptrace.h |  2 +-
 arch/loongarch/kernel/traps.c       | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)