Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3291656rwa; Tue, 23 Aug 2022 02:07:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR59ZMLPW1upmWbXH9oOmVmT2SFinc+L4FsffCJqOjOT8w4BEk+ohNq90/jcoyeOBks15wKQ X-Received: by 2002:a17:907:2721:b0:73d:8e0a:631a with SMTP id d1-20020a170907272100b0073d8e0a631amr4145958ejl.100.1661245625182; Tue, 23 Aug 2022 02:07:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661245625; cv=none; d=google.com; s=arc-20160816; b=X2kwd4DAGXsmyXynESt1rKtTPyZ3enLC2vAiUhTzIls08g0HxBB6XYymhfTFFUSxD2 gezT6+X55Cl66BtABwBaVGYo3MTwWK0DNUBdL7DC8zvBuECXR8d75ZxxKYMvpm4dE0m3 mSPUwLyKi6Kl9Zr3YgvIgJ8Zi8VOTk+I246iwgChpjMSWk22bcmdrK+aP/ktPoOvqSfm qAJRni1TrOx+/b2CdKQn1H4oEc4MKACneGpsInDiSZhQYCOMxEbyHPd1Myulw3QFx1XT HM+Jdv0IKIsEuPLchj4js9JZOkJG9As5+mjMANEPttCpB5fnbRsHKTf8INEAFwgkaFuI RHMA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=15a64tWCxm7klD9UpFJ2owfkN68nC9EMhWkSkRYVeVE=; b=W4SsAPJyqGVs/auxtmKlLeYFtC8F+2UNW2KgIOyEnogiq+eVYtPa+LawSmdgSFIJNw OUe5BsEvEbdj0MO/twClBRvB59jAwKlhIz7TyMk+rKKsa0gbCtXLfaKEWLXH7KzlSET4 kVBX/qHC68kDajS38o8bexgBki6QM0RGcnA8GXllV7Pdedr56ovvOxAGKLwxpbFBa4gx Rb2c3I0WjGazCykkRaOvPiaOMC0FuJw2mAR7mFagjwq9hAbvFdGO3HWS96XKNkXrOve1 9RDG3hzZsti+jonXuylFxrZ/SczKZHmH43uQrC7498BCoqcHR952YuCx/7zE2qhwer9p R7qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=F8dH16Az; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wt10-20020a170906ee8a00b00730c7c61876si7244215ejb.298.2022.08.23.02.06.39; Tue, 23 Aug 2022 02:07:05 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=F8dH16Az; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243390AbiHWI33 (ORCPT + 99 others); Tue, 23 Aug 2022 04:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243715AbiHWIZu (ORCPT ); Tue, 23 Aug 2022 04:25:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 268D871BFD; Tue, 23 Aug 2022 01:13:51 -0700 (PDT) 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 D940461324; Tue, 23 Aug 2022 08:13:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E62D1C433B5; Tue, 23 Aug 2022 08:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661242425; bh=mWzM5TMrwuksgZqLJpC/Uv/KW7zVtYjKYra4nX9Cxis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F8dH16AzI4tda/DmR4j2wj2BHkQYqBktDqpb3VXKG2kRza1BZ8HqPI2aVckhSWJ1W ldW+P6A1RPwzAbDebf2pHuzXd/sciP+lJscIWpIRACNSPneKqywo7TVFjWNDkvF00T oQn58uSynPLxyOcc/XhyRtCEEXSyweT6uoJYtGD4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Peter Zijlstra (Intel)" , Richard Weinberger Subject: [PATCH 5.19 113/365] um: Add missing apply_returns() Date: Tue, 23 Aug 2022 10:00:14 +0200 Message-Id: <20220823080122.931986610@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080118.128342613@linuxfoundation.org> References: <20220823080118.128342613@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE 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 From: Peter Zijlstra commit 637285e7f8d6da70a70c64e7895cb0672357a1f7 upstream. Implement apply_returns() stub for UM, just like all the other patching routines. Fixes: 15e67227c49a ("x86: Undo return-thunk damage") Reported-by: Randy Dunlap Signed-off-by: Richard Weinberger Signed-off-by: Greg Kroah-Hartman --- arch/um/kernel/um_arch.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -444,6 +444,10 @@ void apply_returns(s32 *start, s32 *end) { } +void apply_returns(s32 *start, s32 *end) +{ +} + void apply_alternatives(struct alt_instr *start, struct alt_instr *end) { }