]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kselftest/arm64/gcs: Correctly check return value when disabling GCS
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 21 Aug 2025 15:13:02 +0000 (17:13 +0200)
committerWill Deacon <will@kernel.org>
Mon, 8 Sep 2025 14:54:39 +0000 (15:54 +0100)
commit740cdafd0d998903c1faeee921028a8a78698be5
treedf9eda3152a967f1507101da738159bc25198dab
parent50af02425afc72b1b47c4a0a0b9c9bdaa1a1b347
kselftest/arm64/gcs: Correctly check return value when disabling GCS

The return value was not assigned to 'ret', so the check afterwards
does not do anything.

Fixes: 3d37d4307e0f ("kselftest/arm64: Add very basic GCS test program")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/gcs/basic-gcs.c