From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9E5F479895; Thu, 20 Aug 2026 15:34:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787240057; cv=none; b=rp4eAT0cALx09sYpjdsM1o2BOO+DaQqyMr1R+5z9M6W18TJT5qkUKylgfBKh0rLSKJ8l6w5LEo8f9f1AvFMzyXGCLsG1xHYUYHD03jZfRAbVRz2AioV/EOrykj4+eJcF4kxHj4ZzEhRrFUDOEyKrXBcUpSFNqYfo8caey765PCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787240057; c=relaxed/simple; bh=vre9auiptf+o+amdAV0uA/7EFkQAVeq7gsNLbAqiU8c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TnvoqkI9QHp8rHnhrpOr+VwYfcxr49+NtHQ385xQMzaAMDYBIpVhfzGSrL/UMHd4LzVftUKoOalSVJ/elPhfSCTQn4LYhs5DaTFxUD7WH20/6g+nXMhGM44UvW49ND551R6jE0LZNjMqkuwFAK5GhyzlON5kMXCj7hXL/jO5fSU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=ILuiY8iG; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="ILuiY8iG" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2A13B153B; Thu, 20 Aug 2026 08:34:11 -0700 (PDT) Received: from e142334-100.cambridge.arm.com (e142334-100.cambridge.arm.com [10.2.198.93]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2FBB53F763; Thu, 20 Aug 2026 08:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1787240055; bh=vre9auiptf+o+amdAV0uA/7EFkQAVeq7gsNLbAqiU8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ILuiY8iGLLhfAIqBKU9UGmoQePaZW4vluIC1qsZoLQQaGLK1np9ZVli07H9RN+ojP S8hnGYPAty5WZzdm42RTrrzEhXRDmOkWppwJD666o3+vpKjnsZUGsqoVQD9371sizq ElOfDFmb9U2+2Ch12mQJBdb5ICdboTOWEt2lspcs= From: Muhammad Usama Anjum To: Catalin Marinas , Will Deacon , Mark Rutland , Shuah Khan , Andrey Konovalov , Andrew Morton , Vincenzo Frascino , Amit Daniel Kachhap , Mark Brown , Yeoreum Yun , linux-kernel@vger.kernel.org (open list), linux-arm-kernel@lists.infradead.org (moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)), linux-kselftest@vger.kernel.org (open list:KERNEL SELFTEST FRAMEWORK) Cc: Muhammad Usama Anjum Subject: [PATCH 3/4] selftest/arm64: Fix MTE prctl TAP plan Date: Thu, 20 Aug 2026 16:33:25 +0100 Message-ID: <20260820153331.2448875-4-usama.anjum@arm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260820153331.2448875-1-usama.anjum@arm.com> References: <20260820153331.2448875-1-usama.anjum@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The MTE prctl test emits one result from check_basic_read() followed by one result for each of the seven entries in mte_modes[]. However, the TAP plan only accounts for the array entries, producing: # Planned tests != run tests (7 != 8) Include the basic read check in the plan so that all eight emitted results are declared. Fixes: 1f488fb91378 ("kselftest/arm64/mte: Add MTE_STORE_ONLY testcases") Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/arm64/mte/check_prctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/arm64/mte/check_prctl.c b/tools/testing/selftests/arm64/mte/check_prctl.c index f7f320defa7b9..d16a91117eef9 100644 --- a/tools/testing/selftests/arm64/mte/check_prctl.c +++ b/tools/testing/selftests/arm64/mte/check_prctl.c @@ -119,7 +119,7 @@ int main(void) int i; ksft_print_header(); - ksft_set_plan(ARRAY_SIZE(mte_modes)); + ksft_set_plan(ARRAY_SIZE(mte_modes) + 1); check_basic_read(); for (i = 0; i < ARRAY_SIZE(mte_modes); i++) -- 2.47.3