From patchwork Thu Feb 2 04:42:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 51673 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp37515wrn; Wed, 1 Feb 2023 20:45:30 -0800 (PST) X-Google-Smtp-Source: AK7set/B68AXqDVPMFRkdyj/Rpzx6tLDp2nFScvXZKp9uYdr8X5h3TkU1y9xgDwnwwj75Rqk1BHx X-Received: by 2002:a05:6a20:3952:b0:bc:d288:a67b with SMTP id r18-20020a056a20395200b000bcd288a67bmr6799109pzg.43.1675313130025; Wed, 01 Feb 2023 20:45:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675313130; cv=none; d=google.com; s=arc-20160816; b=RbY7EO+0LQDBCk+ZIy52SGGf7kSa8QIHa0OgU09a92tYuBsgwjzXiRxGmDFBzyHno2 mb1QHNGqGWxUSQQqzX5HqnbvoyQEvNetJu2CNSSeeItTraQ0+1QPBI/XuR16lNfW6hag r28Bq0i8tKUimfQM1qC8KSQG+PRh6P5ibje0tJbsO5kfWm5drGIHx+GoG8epwl1CIK8x WVz6JOz3UuwCE7T4bzoIodOmOCP8eGIqCNSsFQxCWMrOO0LfUq9/RYOt4Xz/CKsz8Hi8 WYoU+YASaVQTnz3wI+4bVW3e1mW8uclqe9Ai8MzDmZexGohliVWkoKPu7YsApMVzgC5h 2lBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rnQVq+M/EgzjtETsTzIpOijQzUdQF2ZoNgjCd0VQoRA=; b=stEjH9gFHRthBBlUzBdAdEk9Rqrfs/eNxwbUxyiob4J0nnRw+ZEYsPRfnk6APTOLDb yfFalLC2BwAYsokdP6TrnXr3EjIOcAApMOpSrvbz1OSnrcdB1YksDBvp7jfcXhP0jips c2BSIfBExnTuHD4CPk+z9aiB2VLGIVb5MOCrG8latUIMUquQK/G7VPjjACkDKT3bq98X 1YHdgWs1BEwRRIibPQji77yY4vlj3XXmhcd9bgYQ9+qdtJv+Nq5X/0H9aLtLRocRcCy1 KHqY2tfkiQwvyAfIJTY3Ezdwa7tGmXedLctVHDnaX9t5JHzEoJ1JiPybjmUvomXMDLky DJBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RY+m7BOt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k74-20020a636f4d000000b00479337c8eabsi19647919pgc.581.2023.02.01.20.45.16; Wed, 01 Feb 2023 20:45:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RY+m7BOt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231611AbjBBEoa (ORCPT + 99 others); Wed, 1 Feb 2023 23:44:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230323AbjBBEoM (ORCPT ); Wed, 1 Feb 2023 23:44:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4B277A483; Wed, 1 Feb 2023 20:43:52 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 686D7B8241E; Thu, 2 Feb 2023 04:43:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA2FCC433EF; Thu, 2 Feb 2023 04:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675313030; bh=PuhSXXH7ABpQ0zNff3KqR9dMDr71RXa2680XZD99Eus=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RY+m7BOtLdJCIQuPIS5UJRKNr7upaEVDxVRIJjOJwcDhsftkCWO24n1rpzjv/CYf/ CsOcX9wTv1ppYk3aCsRqnVXIW7x9FaCsVYxLhmsV0Jt9RInFx3aMWngbw9BGtBti8R TLlFDCyKO4QgUfKGjgOEEcCvOtXBL8EKQVpUknz7GNnfhhiRFg3hNqhQdiNttXr/KZ hdqXSFEraVvS1fAXnQaovWuF/aHNkUJ3zXcd2ARlAguZF8ts1yMeU+F+6xh+a2ZSlQ 0qCJSw2jvhAfhsqO6O+RO5Vvi2KIvNacNBOsk7v39wOSAOLserOBVgQrrwKKXG9k6g CVe6Cz9uPqa9w== From: Eric Biggers To: stable@vger.kernel.org Cc: Harshit Mogalapalli , Kees Cook , SeongJae Park , Seth Jenkins , Jann Horn , "Eric W . Biederman" , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Chancellor Subject: [PATCH 5.4 06/17] hexagon: Fix function name in die() Date: Wed, 1 Feb 2023 20:42:44 -0800 Message-Id: <20230202044255.128815-7-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230202044255.128815-1-ebiggers@kernel.org> References: <20230202044255.128815-1-ebiggers@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756693140832165478?= X-GMAIL-MSGID: =?utf-8?q?1756693140832165478?= From: Nathan Chancellor commit 4f0712ccec09c071e221242a2db9a6779a55a949 upstream. When building ARCH=hexagon defconfig: arch/hexagon/kernel/traps.c:217:2: error: implicit declaration of function 'make_dead_task' [-Werror,-Wimplicit-function-declaration] make_dead_task(err); ^ The function's name is make_task_dead(), change it so there is no more build error. Fixes: 0e25498f8cd4 ("exit: Add and use make_task_dead.") Signed-off-by: Nathan Chancellor Link: https://lkml.kernel.org/r/20211227184851.2297759-2-nathan@kernel.org Signed-off-by: Eric W. Biederman Signed-off-by: Eric Biggers --- arch/hexagon/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c index bfd04a388bcac..f69eae3f32bd2 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -221,7 +221,7 @@ int die(const char *str, struct pt_regs *regs, long err) panic("Fatal exception"); oops_exit(); - make_dead_task(err); + make_task_dead(err); return 0; }