[PATCH] selftests/powerpc: Add SPDX-License-Identifier to count_stcx_fail.c

From: TAO Ye

Date: Tue Jun 23 2026 - 10:53:02 EST


count_stcx_fail.c still carries only the original free-text license
notice ("Licensed under GPLv2.") and has no SPDX-License-Identifier
tag.

Replace the free-text notice with the equivalent SPDX identifier
GPL-2.0-only, matching the sibling files. The copyright notice is
retained and no license change is intended.

Signed-off-by: TAO Ye <taoye602602@xxxxxxxxx>
---
tools/testing/selftests/powerpc/pmu/count_stcx_fail.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
index d8dd9a9c6c1b..51a7565c6435 100644
--- a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
+++ b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2013, Michael Ellerman, IBM Corp.
- * Licensed under GPLv2.
*/

#define _GNU_SOURCE

base-commit: 4708cac0e22cfd217f48f7cec3c35e5922efcccd
--
2.50.1 (Apple Git-155)