From patchwork Mon Mar 29 07:56:10 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: 410803 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3424260jai; Mon, 29 Mar 2021 01:19:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2zF91uKRK6kmT3z7hCqgdRkZO9aeccsi8lLctqKYovfditb1QGwZ8mz1QPnmNnPGv30/e X-Received: by 2002:a50:fd15:: with SMTP id i21mr26644372eds.384.1617005966473; Mon, 29 Mar 2021 01:19:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617005966; cv=none; d=google.com; s=arc-20160816; b=xW7I/ucpJoKAIYFjA9i4RPxbNmgOxr4hYowaYl5HN6LCosrKhMAxQgvVRBbOlJB+IW yuKppLkhWGkeoRluJdZa7rlnYFdyL+1dWMiP2XuvNeQ/Ds63V3OHflIVtNqXQDxqPpBQ e8itLHDbAMRRdrKoj92PKM5hE58mORhRqQsGchfdaPo/A/qIYV33rkoR933IFJw6ZXr5 Vjvyc5dX8dCun/oET3joIwzsX7I5TzE6Q5GIRUO7SjdRVKnA7DS1JE0OYS3778zYXlrV TCn65tePfHNyNsRSOfedkWuW4C2Q7dGZyPeKsMz9NhPsFbUedgaQWZcyBbssQ02CrWeL R2Pw== 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=WcZAu+fxa67A07sHw3CU2M+WNshaJ9WHuKazhgDIEJmUmqDGAcmECR4nuYO1qN8U/v /61L5tafKks4shmoG2O2xAPKRVSG/qOEcb4lLZKALlA+WZAz0Zm3Alcv24Lhlwue800L +4GduyiSw/adRPnlOGOegfmCV7jzW9buHOfX3+ZM7XqfkCEFijPvWyM9CoeP8aCuTFcU B6ALY1WLvvIu6lxhGkbFN1QN6GMZxiL2bYhls6gECCKjBXFlSLnTACGIt/0on+j4Fji4 /6k1iIjxn72Wfyj3JwrllB5cB4mrag01gx+587GROe0LCxCOAJRcZoWQ+NHl3WWB2zPN FkfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=14+sHNvz; 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 s19si12223139ejd.449.2021.03.29.01.19.26; Mon, 29 Mar 2021 01:19:26 -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=14+sHNvz; 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 S232682AbhC2IS4 (ORCPT + 12 others); Mon, 29 Mar 2021 04:18:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:34142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232312AbhC2ISB (ORCPT ); Mon, 29 Mar 2021 04:18:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 73CED61878; Mon, 29 Mar 2021 08:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617005881; bh=loSHwK2MBX8jk4o2QA+i+HmRZZgkfxNoedrsqCKiIZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=14+sHNvze6TG9ZXZqngPoK4/5Z8UfExo7Nd9ltlTilXHUrc5R8RGLxhfbnMatJlqA 2PIFSFf3ozdAm17SunOxi3V3T+9EO4UcxLoj+3FBg57Q0v5DOngqIfYhttVfG4EbdL 2y/Rgbz3Fl3hxsL5ZGwTsaUrDIrwtDXrMFBlu71w= 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.10 039/221] kselftest: arm64: Fix exit code of sve-ptrace Date: Mon, 29 Mar 2021 09:56:10 +0200 Message-Id: <20210329075630.477963919@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@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; }