From patchwork Mon Mar 29 07:55:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 410813 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3430104jai; Mon, 29 Mar 2021 01:30:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+8QvmZItEzo0oQ0sPqQn40+Tri1eFG6UVnSHEGc0ejKXiLPKfkxCyf5ov+y4yPFJf8XMZ X-Received: by 2002:a17:906:5ad2:: with SMTP id x18mr27354518ejs.117.1617006658235; Mon, 29 Mar 2021 01:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006658; cv=none; d=google.com; s=arc-20160816; b=cscIdI6nxDNdqgoBbtfeCPqwCjgmByBM1b3d7p/gZwNJbvpxgtzQJie24bfDOip+XE n0vlgM7u5XDkREfSXk1BpGJTI2/fsYZPP3m77ZEqUgAUBli6FiYpNQy/3chF5+/Lejf4 GE/UUj8HkRD3yLPNof/DsLcUA+dMlUOOuphocwba51PeRr0GcFPQLqcgpt+IHqf5hqY7 +UIMBDvEKSD2sXFAsXrz7Fsd7gcONao7nBmmsAGQNf3siigmJuIvbOAY7RZhsLw7km3Y 1K4a0AGRIELi0ibHK/vDI/iOW87PDXOumwAc58RePXxAqacTSO7PQpstHA9kaaes45qp 0bKA== 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=OYorn1JVOhbT/NaOTq9OppJO9cXaMW7lATZ+gQnPGCU=; b=XNWQrlakhah2nQ+4GLzfx2P3u4NGaH/9CeBr9QwVcXmsfpfU+XNrCMor1Y6iRZIQiA NYoinkJML8SOqpNbg+JnoSJz9IuYSlYBUP5XQ64VJa7MukD5wyyGlxEB4GzgVGJfzTJR gwhfi4/DTbVcEkrQFW4+UMF+M2fjJETf0pC7jvD7Zu32w43yNPAhtDnJl2wGHbBhrBDZ lxmIf3WsDOSYVWnM3R9frzZOHQ/fhm7rKcUn2TfvhLhvXLPAvE7Z1cp29u0Tk/fSnmDi vua2r3hRG582eLIg7dIhFIWezRM3olykFi97uDZh9X3+fjzGkqn2qvf+selgzBBS9ocb +tLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=grV98Mfd; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si12339235ejs.705.2021.03.29.01.30.57; Mon, 29 Mar 2021 01:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=grV98Mfd; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S232995AbhC2Iaa (ORCPT + 12 others); Mon, 29 Mar 2021 04:30:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:48320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232710AbhC2I3S (ORCPT ); Mon, 29 Mar 2021 04:29:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E87D2614A7; Mon, 29 Mar 2021 08:29:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617006556; bh=loSHwK2MBX8jk4o2QA+i+HmRZZgkfxNoedrsqCKiIZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=grV98Mfd1sio99mrxH3LdAYdWj22MVrY/INAZeIMM47sAxVnExO+EyAqQoQDCEv46 TWMd0NYPVUG/D9aYJBBneoSPABpGQj6EW3w0GAgEPB/uEzZ9HubHD2FIjR6KbKThBF /fx9eHYS/TXGOJewVBDUud/NiCiAp3YhwUin0CAE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Brown , Will Deacon , Sasha Levin Subject: [PATCH 5.11 039/254] kselftest: arm64: Fix exit code of sve-ptrace Date: Mon, 29 Mar 2021 09:55:55 +0200 Message-Id: <20210329075634.432140701@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075633.135869143@linuxfoundation.org> References: <20210329075633.135869143@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Mark Brown [ Upstream commit 07e644885bf6727a48db109fad053cb43f3c9859 ] We track if sve-ptrace encountered a failure in a variable but don't actually use that value when we exit the program, do so. Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20210309190304.39169-1-broonie@kernel.org Signed-off-by: Will Deacon Signed-off-by: Sasha Levin --- tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.1 diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c index b2282be6f938..612d3899614a 100644 --- a/tools/testing/selftests/arm64/fp/sve-ptrace.c +++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c @@ -332,5 +332,5 @@ int main(void) ksft_print_cnts(); - return 0; + return ret; }