]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
kselftest/arm64: Supress warning and improve readability
authorVivek Yadav <vivekyadav1207731111@gmail.com>
Sun, 24 Aug 2025 06:14:01 +0000 (23:14 -0700)
committerWill Deacon <will@kernel.org>
Mon, 8 Sep 2025 15:01:22 +0000 (16:01 +0100)
The comment was correct, but `checkpatch` script flagged it with a warning
as shown in the output section. The comment is slightly modified
to improve readability, which also suppresses the warning.

```
[command]
./script/checkpatch.pl --strict -f tools/testing/selftests/arm64/fp/fp-stress.c

[output]
WARNING: Possible repeated word: 'on'
```

Signed-off-by: Vivek Yadav <vivekyadav1207731111@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/fp-stress.c

index 74e23208b94cabad165819ffa35733374649d8aa..3a0ae96cf9096a5cfb5430dff07090a9c6c9b074 100644 (file)
@@ -105,8 +105,8 @@ static void child_start(struct child_data *child, const char *program)
 
                /*
                 * Read from the startup pipe, there should be no data
-                * and we should block until it is closed.  We just
-                * carry on on error since this isn't super critical.
+                * and we should block until it is closed. We just
+                * carry-on on error since this isn't super critical.
                 */
                ret = read(3, &i, sizeof(i));
                if (ret < 0)