OSDN Git Service

LoongArch: Add identifier names to arguments of die() declaration
authorTiezhu Yang <yangtiezhu@loongson.cn>
Fri, 25 Aug 2023 15:40:26 +0000 (23:40 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 25 Aug 2023 15:40:26 +0000 (23:40 +0800)
commit8879515e1219857df1f142e23840b91a37cbde88
treee8b50bda9faeb91ae9f8b30d5fee22fa533591b0
parenta038ae7148469ab6cf4afadb155a15d9554a0b59
LoongArch: Add identifier names to arguments of die() declaration

Add identifier names to arguments of die() declaration in ptrace.h
to fix the following checkpatch warnings:

  WARNING: function definition argument 'const char *' should also have an identifier name
  WARNING: function definition argument 'struct pt_regs *' should also have an identifier name

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/ptrace.h