From patchwork Tue Jan 24 18:50:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 47830 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2319113wrn; Tue, 24 Jan 2023 10:54:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXv4s9hAjfYTcEH2bwLIHvGtKxZZJqL0Z9mMvVfYfUDdjzs4g36eYoGTTHZBQ/o04RRQ0pli X-Received: by 2002:a05:6a20:cb58:b0:af:b909:2b3f with SMTP id hd24-20020a056a20cb5800b000afb9092b3fmr25847376pzb.34.1674586443573; Tue, 24 Jan 2023 10:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674586443; cv=none; d=google.com; s=arc-20160816; b=SwmV0nA/Q1vcAYGmz7Ft9S5LvSVI1ffyrea/d7u1xU3QLxR7ixD1bXkHuqBurufoVG Uqe4nNDEtxaor0fKIIK4yV9qsEgae4zCxNvTI6g/tzuMg6A41vCQ+0+gjueVC1k5k3a+ TKULyW13cPS5ktyCtOzmBclhgwlsSsF25LiBgJAonRpuAI6s6Cv+vec68G91r5laci4M 7rSHnqkQQUKHhx7OFqD0NC5Aw/T5ED6nwi3e6yKLQ+19tYLfg5pnPOMGB/v7fzjFzPDQ R6MzU5TrMZrXllYf4dF1g+oOnywFU13ePJvger73yqC5YU3GaOETrpzcY7LaVR9rzL32 Ho8w== 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=YWPFBVSYQeEzzEWZl6wYDlq5kqT7Tp0m5kBS9A+u37A=; b=LsB9LnKjAKV6QkLMA/7RCDSKmMhBhUZ56T+mNQAjsS6ZVEyyZkS4B1hKDa/ogCkIW9 O8j4nFEMMNSsriTKjc9G2frVivRJM4rfUtwPQei5Qf491J/mDsM8PLb1sASLg1SAhATF 48plre2gz/HOMnieU/q1oGWCSq76QHEf00BKpIrtlOVAVLePOMchZbmF9LGnFzQwf0nH Rrlleza+qRNu8xwSVf7rUhR6i5W7rVZ6BO2CZNUAJlntxAcwat/awOW7rbgBUwA5A19d Lu+pnZIMABS1io2ZZbARy8pDjwmGBNKtfKQwbfMdmzKCfAaVfsCGEcjRBeN89+4/XIY/ 0NNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UQ6bxJRF; 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 s3-20020a637703000000b0046ec3bd90bbsi3144391pgc.60.2023.01.24.10.53.51; Tue, 24 Jan 2023 10:54:03 -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=UQ6bxJRF; 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 S234233AbjAXSw0 (ORCPT + 99 others); Tue, 24 Jan 2023 13:52:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234180AbjAXSwH (ORCPT ); Tue, 24 Jan 2023 13:52: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 1B83F460B1; Tue, 24 Jan 2023 10:52:07 -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 A9F4661326; Tue, 24 Jan 2023 18:52:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C158FC4339B; Tue, 24 Jan 2023 18:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674586326; bh=KXWYAV5gggvFf9MFGmbJ26fy4m1XP/EJdO/BLbEx1cA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UQ6bxJRFIYdY0M8uCKCGrIrguAdNOZNW9jfBhOJPPuE/dbmbgv7P5d7rgPLxeVEcS Yh0MwM6/3bkVe4v0CL+1rZiXEX/J6Yj9TdXE8tUssx3k27P0ZRklFApxBXHJttAn66 JPvZch3kPeA+18i/duStN8SVwPUDv+8fgfUbmDmxZrSTjtigJfdzAleHNt9LviYIfL sA7MjRgS3m6wiCq1xqpHBkwh15sEnz+kCHgMt3XOW+YjSH0H6WMYci9RFU5ZFaxhNE dintyN4QOxHdpXzl9vLGPPGTxTsqdNkZ6YJ4tkQlWFp+ZhzHR1BCRC8bmSve/LT1Yg 3/wEEoqpaLCqg== From: Eric Biggers To: stable@vger.kernel.org, Greg Kroah-Hartman Cc: 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.15 08/20] hexagon: Fix function name in die() Date: Tue, 24 Jan 2023 10:50:58 -0800 Message-Id: <20230124185110.143857-9-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230124185110.143857-1-ebiggers@kernel.org> References: <20230124185110.143857-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?1755931154656395149?= X-GMAIL-MSGID: =?utf-8?q?1755931154656395149?= 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 6dd6cf0ab711f..1240f038cce02 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -214,7 +214,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; }