From patchwork Mon Aug 14 09:27:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiezhu Yang X-Patchwork-Id: 13352619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F02B3C41513 for ; Mon, 14 Aug 2023 09:29:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233013AbjHNJ2j (ORCPT ); Mon, 14 Aug 2023 05:28:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235536AbjHNJ2K (ORCPT ); Mon, 14 Aug 2023 05:28:10 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6FC19E73; Mon, 14 Aug 2023 02:27:55 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8CxfOqF89lknxQYAA--.22753S3; Mon, 14 Aug 2023 17:27:33 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Bx3yOE89lkSLlZAA--.49910S2; Mon, 14 Aug 2023 17:27:32 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer Cc: "Maciej W. Rozycki" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH v3 0/3] Modify die() for MIPS Date: Mon, 14 Aug 2023 17:27:23 +0800 Message-Id: <1692005246-18399-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8Bx3yOE89lkSLlZAA--.49910S2 X-CM-S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Ex4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07jYSoJUUUUU= Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org 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 three individual patches, suggested by Maciej, thank you. Tiezhu Yang (3): MIPS: Remove noreturn attribute for nmi_exception_handler() MIPS: Remove noreturn attribute for die() MIPS: Modify the declaration for die() arch/mips/include/asm/ptrace.h | 2 +- arch/mips/kernel/traps.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-)