Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3419527pxf; Mon, 29 Mar 2021 01:30:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1yLpVLW5fFFfg70EQ62GfnPFRBpoMsimjJyZzvPbcVuoAXyQc1/TrUxVsUf2sGTRAzIWs X-Received: by 2002:a17:906:1155:: with SMTP id i21mr27048589eja.218.1617006645349; Mon, 29 Mar 2021 01:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006645; cv=none; d=google.com; s=arc-20160816; b=js0xjYJqHb8ZtKgfGuiPKM2/IlRacfx7TH4/ER9WLCF/xzqoCDMEHrPSdTqhQ3XpVK 8CSuHKzhvZp9ZdjT9zVl1rYLHSrE00nKkmpkeClw4E7zPyUq1G1DLjobvr+qdYKmx1Zs vkfnekGc3vMSgtbW5jWApAOnVxE2kl3rBxeRc+F0slQmmnDDvuhTGlur+uYMwnach+xi g5xTRBOyrGmwyTQdUpNtZAMQO6MB2k/kCxithIoYW4H9oNCy5p1QFdRUA17CpnBa0UwE fM0O7W06HTogHP6XZUo6D45v5y4l6gXBzAcOTdXU41SzhXSlX09FA9qZHvNH9Th+9VZc eDYw== 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=YYjKTmfFw/AzOIMkg70pouex1AHsj8pILw9xa5KVVMOjv6Zt0BIjY2YulVTU0KYEKh fnsGmYCRifK4Zaor2SgFvuBzG0/AUn5rf3VrBuPczHvnY8gm3XtTAgDdmMhUoRERL9c1 5p/FWV7Msj6i8pmYjGbtnsV6WnA402oYUxPtAKu/8bVrg6RgTX2s+TpQ15bVJO7xqHBx p5YRmwEz7E6OMgYynxKN1EdEaYozqWaZpZitrHx40+8McVo2+y5FP6kv1XmLWVPMtM2f rWcfeF11QXiBfup4Lf0PQD4V8+U61lGKy1ZszX563YCohEBmmRZPru3WsOQGBVtO1xdt 2B2Q== 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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si12102602ejb.425.2021.03.29.01.30.22; Mon, 29 Mar 2021 01:30:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234485AbhC2I2h (ORCPT + 99 others); Mon, 29 Mar 2021 04:28:37 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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; } -- 2.30.1