From patchwork Thu Feb 2 05:25:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 51695 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp52509wrn; Wed, 1 Feb 2023 21:29:44 -0800 (PST) X-Google-Smtp-Source: AK7set9S0eilDIvRQx6BuLO4d0tgI6xB1GADQsKMDEjl6JSzOq6E6qAvD5jvhPQhvWXUPlcNqRns X-Received: by 2002:a17:90b:1e4c:b0:22c:b1c5:ae87 with SMTP id pi12-20020a17090b1e4c00b0022cb1c5ae87mr5117838pjb.45.1675315783853; Wed, 01 Feb 2023 21:29:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675315783; cv=none; d=google.com; s=arc-20160816; b=IB30hvGsShMZ20+dJEalhyqOgEgR0khvR/vOM4kgAKf7LXYCLg33R9ERC0fKhLnuJB vjaC24wZjgwjydLvfDlUnZ43C1+H9a9vwB2xCk0qOgIUvXdxQP+LtDfUq2nKLKPqCqLL uMkQ/X3S6nLKifmgCIxyXBsy/Nefm3417uqgNVSbDLjB7GH9zNKle+u5ILpTGn9N+fiv KAvCaiFFWKBsu47BS4xiYaGbIc1xK8XqCMsBUOHkD4I6xVbBKLyIcbZG6D9resJ0zqnX VbcZpSluL8roT1gmlW3KO8TfNPJ5pavEwQdCi0s4fMHwXmyygGa/sC9RPjpw4Z1zIM2F Y2Gw== 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=8+ADFGHMcabOBH3L6OGi9UfMrAG9e/PX2cVIEpAoIHc=; b=n/qdSobHab0U+kH8mU9VsJsvAN9S/uYWLSYvgTNOPfkli7gIvTxnCZ5It73caWJEiM KPiYQQ7oGOOgAxeSU112Cqxh2z3nHucD9fZ3ql9eQSeFadTYlHJnwaGZZ5eQuuMuBV1r /Fc+XemjJ7IjEDNUJ30FofjpP0fm304vPzBeDNpGQ84UXP/yg/RCiyauwoTjh5GRW5bA +LCIGO7yALhiDDYrRGcAd47J0Lp8nxqT9AUIOWX0wLEjX875CmPMZClT2h1g/5J+zcyz 70LNi2TyWT4BNU1swes77gZQtVI0s8UZGch5wEIrtkQ7bmE2Gyf20XXQFHfVkMTrU+s8 i37g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=njD3bw7T; 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 r4-20020a17090a690400b00218ac70fdefsi3414902pjj.183.2023.02.01.21.29.28; Wed, 01 Feb 2023 21:29:43 -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=njD3bw7T; 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 S231971AbjBBF20 (ORCPT + 99 others); Thu, 2 Feb 2023 00:28:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231806AbjBBF2H (ORCPT ); Thu, 2 Feb 2023 00:28:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBD1012853; Wed, 1 Feb 2023 21:28:05 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 34C1061556; Thu, 2 Feb 2023 05:28:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 500D1C433A0; Thu, 2 Feb 2023 05:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675315684; bh=rqPPFhpa75We+EsAx/7l1nnJIy+HSyNoMGUNdepG8jQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=njD3bw7TCFNV7X0q/6GjVbiqiYa7RBgPL/F9xnPpJ7gJaAWw/JE2KYxZrQsLdK2Ih Ci0EnKHhVAj5aUkC7D4RKKVgWieZ755DaSx4CpCCnFrrlhs5iOyrtaB4lGHHqpdNNk L73UyyjuNOPAo58/kfsH/Qjo7rTH4AsZ2rNFYiy/QpBJr0MIDdgM8T9B5gCJJcA5ZP Sf1ShcDSAKyCk572pJCcuj4r4c4ms3m8CKOUuRW+Uj/+FglJIslE+stXL6J4FMijYW ijfC1wlq430XFDpoosIKtXC8qLwZI74HU7yESbdfqQ9xjl3NdwQgAspPBfqScsuMsF 1Jh+UOI2cgmeg== 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 4.19 06/16] hexagon: Fix function name in die() Date: Wed, 1 Feb 2023 21:25:54 -0800 Message-Id: <20230202052604.179184-7-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230202052604.179184-1-ebiggers@kernel.org> References: <20230202052604.179184-1-ebiggers@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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?1756695923362699961?= X-GMAIL-MSGID: =?utf-8?q?1756695923362699961?= 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 ac8154992f3eb..34a74f73f1690 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -234,7 +234,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; }