Skip to content

Commit f11c1ef

Browse files
ChelsyRatnawatakpm00
authored andcommitted
selftests: fix some typos in tools/testing/selftests
Fix multiple spelling errors: - "rougly" -> "roughly" - "fielesystems" -> "filesystems" - "Can'" -> "Can't" Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Chelsy Ratnawat <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 479d26e commit f11c1ef

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tools/testing/selftests/filesystems/file_stressor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ TEST_F_TIMEOUT(file_stressor, slab_typesafe_by_rcu, 900 * 2)
156156
ssize_t nr_read;
157157

158158
/*
159-
* Concurrently read /proc/<pid>/fd/ which rougly does:
159+
* Concurrently read /proc/<pid>/fd/ which roughly does:
160160
*
161161
* f = fget_task_next(p, &fd);
162162
* if (!f)

tools/testing/selftests/mm/gup_longterm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static void do_test(int fd, size_t size, enum test_type type, bool shared)
158158
/*
159159
* R/O pinning or pinning in a private mapping is always
160160
* expected to work. Otherwise, we expect long-term R/W pinning
161-
* to only succeed for special fielesystems.
161+
* to only succeed for special filesystems.
162162
*/
163163
should_work = !shared || !rw ||
164164
fs_supports_writable_longterm_pinning(fs_type);

tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
5656
}
5757

5858
if (write(fd, "1\n", 2) < 0) {
59-
perror("Can' enable power floor notifications\n");
59+
perror("Can't enable power floor notifications\n");
6060
exit(1);
6161
}
6262

tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void workload_hint_exit(int signum)
3737
}
3838

3939
if (write(fd, "0\n", 2) < 0) {
40-
perror("Can' disable workload hints\n");
40+
perror("Can't disable workload hints\n");
4141
exit(1);
4242
}
4343

@@ -99,7 +99,7 @@ int main(int argc, char **argv)
9999
}
100100

101101
if (write(fd, "1\n", 2) < 0) {
102-
perror("Can' enable workload hints\n");
102+
perror("Can't enable workload hints\n");
103103
exit(1);
104104
}
105105

0 commit comments

Comments
 (0)