From patchwork Tue Jan 24 19:29:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 47862 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2337227wrn; Tue, 24 Jan 2023 11:36:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTsyZ9fMZSHuU7YAKvV51ww/K8zkCR65R7Qdw+UJIbw31UR2B/jw5u/4QHOLLmh1lebHxY X-Received: by 2002:a05:6a00:438b:b0:588:441:d0d3 with SMTP id bt11-20020a056a00438b00b005880441d0d3mr30092861pfb.23.1674588966513; Tue, 24 Jan 2023 11:36:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674588966; cv=none; d=google.com; s=arc-20160816; b=mjD3YaEkP7HxW+DI2OaU1A02Ux6Aca2CasrTy7g8ntXnkAv815A0GnSkMULUTxgJq6 97O5pb7rw+pNCtCYob5LwJZ9/iKToDfAsctdu9KLl3EfAW0+I83KkkCf0E1Faf4pSw5w LjttXKzy9yBSgZQANHoDvpuEeYVTeHe26BwryUhJfiSP8MCjV3KieW7UHhAoSafyQ/dE EevtCpRIvrFUfeViZig9NgFraiukRfGN52aF+t+8MS+CGlnpEf/zlhXSNhx7puUAkK3Q UpRhY7/g6o7IoE+8HZYQ6kowToWN8IWp5DOwqYKuksUts9pPg9HDSLAq80IZBgoSf91n 63tw== 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=kc6nfgDV9p3zWI1uT5VZnPRnop2yrJwqKsRsn5tjlfE=; b=by8zFvbXU9twcOE8QvWiIs7KrPn3ACmZJCZfVPYfoZ0XM+iXB2CfSHOnwLHaU+VeYi zfUz5BTmCgNqpy4osZKcJRdKfaiLGJX28lQmjODTjaM1nN016+ntyw0FoaWeicBbsHHH SqixFt9uyuIBngCRb+oZcEZcegL8pLDRvFlPxMFGwW1I+ks/t+IYkE9AtmKqCH2en1zY /l6zYVqiliKjqF06bKU3vg006JUDgiCiK0IwoWn+AypWSXGQlDk1uIs3G7SZkUGnoiF8 gUjHwedp/98ilCoqw3jhdaH/mqfDmRu/34pEap2BeKIK72qpZqkaTKDyeFjGeOOD71bD MEmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bKQjyYgy; 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 d134-20020a621d8c000000b0058b25f952b8si2861060pfd.267.2023.01.24.11.35.54; Tue, 24 Jan 2023 11:36:06 -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=bKQjyYgy; 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 S234584AbjAXTfm (ORCPT + 99 others); Tue, 24 Jan 2023 14:35:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233939AbjAXTfW (ORCPT ); Tue, 24 Jan 2023 14:35:22 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FE2CBBBA; Tue, 24 Jan 2023 11:35:21 -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 C31C1B815DA; Tue, 24 Jan 2023 19:35:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B470C433A1; Tue, 24 Jan 2023 19:35:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674588919; bh=DqP04JuwOBj5YYO9MbNahR0CLXBTSbTK5fZvcwGho9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bKQjyYgy205o5cF89No1Y9GwfjoonuMp5GrjHPZiLGjLdDwVqTO0MEv6r4eMZX6M3 0qGtho+RP6RDnglWxc6tDeh5eSnxorXNWzOTU195tBwbRNrpYKG0jyQM1R2H1xvb0z iH9jVp/0mfQzlCporfzdk9SvPfRd6ksF+ZvO4YREXZXcEzsNPbnqkeRVIMKSDQPVhl Sx3Q1qFbjwhFCf9ILYvobh1gJGQfZl/8FJ2xZ0xvkZFtkF/0bLDm7/KANw29cmYtiz pZtDirl222o3sFzxvP+uOaGFleJt0tphq0PtMVftKXrH4gj3xvHO9LADmDK/Fx+eC4 NtUkthzRWvkIg== 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.10 08/20] hexagon: Fix function name in die() Date: Tue, 24 Jan 2023 11:29:52 -0800 Message-Id: <20230124193004.206841-9-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230124193004.206841-1-ebiggers@kernel.org> References: <20230124193004.206841-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?1755933800155721751?= X-GMAIL-MSGID: =?utf-8?q?1755933800155721751?= 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 25e8bdbfd6853..b334e80717099 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -218,7 +218,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; }