Skip to contentSkip to conversation

pty03: Add CONFIG_SERIO_SERPORT as a hint

PATCH In review Richard Palethorpe via ltp 2 participants 2 messages Nov 21, 2022 – Nov 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pty03: Add CONFIG_SERIO_SERPORT as a hint

It's not clear what module implements the mouse ldisc. So adding this helps configure test kernels.

---
 testcases/kernel/pty/pty03.c | 4 ++++
 1 file changed, 4 insertions(+)
testcases/kernel/pty/pty03.c +4 -0
index 53df6d62c..6324bc876 100644
@@ -153,6 +153,10 @@ static struct tst_test test = {
 	.cleanup = cleanup,
 	.needs_root = 1,
 	.max_runtime = 30,
+	.needs_kconfigs = (const char *const[]){
+		"CONFIG_SERIO_SERPORT",
+		NULL
+	},
 	.tags = (const struct tst_tag[]) {
 		{"linux-git", "0ace17d568241"},
 		{"CVE", "2020-14416"},
Signature · 5 lines
2.38.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Trivial patch and no remarks, so merged.

Quoted 25 lines · Richard Palethorpe via ltp

It's not clear what module implements the mouse ldisc. So adding this helps configure test kernels.

---
 testcases/kernel/pty/pty03.c | 4 ++++
 1 file changed, 4 insertions(+)
testcases/kernel/pty/pty03.c +4 -0
index 53df6d62c..6324bc876 100644
@@ -153,6 +153,10 @@ static struct tst_test test = {
 	.cleanup = cleanup,
 	.needs_root = 1,
 	.max_runtime = 30,
+	.needs_kconfigs = (const char *const[]){
+		"CONFIG_SERIO_SERPORT",
+		NULL
+	},
 	.tags = (const struct tst_tag[]) {
 		{"linux-git", "0ace17d568241"},
 		{"CVE", "2020-14416"},
Signature · 1 line
2.38.1
Signature · 5 lines
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp