realtime-tests/rt-tests-deadline_test-Fix-...

31 lines
1020 B
Diff

From 37b70ea17d5479505cebed409087c6cd28c1a485 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Fri, 10 Feb 2023 14:57:38 -0500
Subject: [PATCH 1/3] rt-tests: deadline_test: Fix spelling to "single" in
comment
Fix the spelling in the comments before bind_cpu()
from "sigle" to "single".
Signed-off-by: John Kacur <jkacur@redhat.com>
---
src/sched_deadline/deadline_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sched_deadline/deadline_test.c b/src/sched_deadline/deadline_test.c
index 731073e85180..cd8ef01f7d68 100644
--- a/src/sched_deadline/deadline_test.c
+++ b/src/sched_deadline/deadline_test.c
@@ -931,7 +931,7 @@ static void teardown(void)
* bind_cpu - Set the affinity of a thread to a specific CPU.
* @cpu: The CPU to bind to.
*
- * Sets the current thread to have an affinity of a sigle CPU.
+ * Sets the current thread to have an affinity of a single CPU.
* Does not work on SCHED_DEADLINE tasks.
*/
static void bind_cpu(int cpu)
--
2.39.1