{"id":2219078,"url":"http://patchwork.ozlabs.org/api/1.0/patches/2219078/?format=json","project":{"id":59,"url":"http://patchwork.ozlabs.org/api/1.0/projects/59/?format=json","name":"Linux Test Project development","link_name":"ltp","list_id":"ltp.lists.linux.it","list_email":"ltp@lists.linux.it","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260402121356.31266-9-chrubis@suse.cz>","date":"2026-04-02T12:13:47","name":"[08/17] tests: ioctl: Switch from needs_drivers to needs_kconfigs","commit_ref":null,"pull_url":null,"state":"needs-review-ack","archived":false,"hash":"a760bf3b97594cde753a3d9b7bc66af738e6fbef","submitter":{"id":8530,"url":"http://patchwork.ozlabs.org/api/1.0/people/8530/?format=json","name":"Cyril Hrubis","email":"chrubis@suse.cz"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ltp/patch/20260402121356.31266-9-chrubis@suse.cz/mbox/","series":[{"id":498474,"url":"http://patchwork.ozlabs.org/api/1.0/series/498474/?format=json","date":"2026-04-02T12:13:40","name":"Replace needs_drivers with needs_kconfigs","version":1,"mbox":"http://patchwork.ozlabs.org/series/498474/mbox/"}],"check":"success","checks":"http://patchwork.ozlabs.org/api/patches/2219078/checks/","tags":{},"headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=WlEPueVa;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=fDo8Fcti;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=OZaWff78;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=3nXguEjq;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)","smtp-out2.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=OZaWff78;\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=3nXguEjq"],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmgq85gXVz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 23:17:56 +1100 (AEDT)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 696A33E2A16\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 14:17:54 +0200 (CEST)","from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 46AA03D8D59\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:14:20 +0200 (CEST)","from smtp-out2.suse.de (smtp-out2.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-4.smtp.seeweb.it (Postfix) with ESMTPS id 2D96D10006CD\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:14:20 +0200 (CEST)","from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 3ABBE5BD8E\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:14:11 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2B4704A0B0\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:14:11 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id XW9PCZNdzmm/DgAAD6G6ig\n (envelope-from <chrubis@suse.cz>)\n for <ltp@lists.linux.it>; Thu, 02 Apr 2026 12:14:11 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132052; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=3fGgeSd80c33NwRYB9cIgHC0He0K/FFTmCTAUXEfqvw=;\n b=WlEPueVal1Vz/FtMGfPtV7wZLAmb6vqniKZXNuQiHFgWwbZX3XgbBwdXsBLKqyONWq702k\n XnWV3j8lD4MnvVBJudKKiOMlCfUAKqvI1TmQK28Cq/I7valPUQUaFXRvo70tZ6qo4QPRpy\n NiY/2Qk4f4eJMWpjTzp/zcr6BN8w5rA=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132052;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=3fGgeSd80c33NwRYB9cIgHC0He0K/FFTmCTAUXEfqvw=;\n b=fDo8Fctiho49nZNM+cOopkHCce7zHQRpkO+fUnPjkfU/9zB7fHQhEvrFR8YNVKoBnayNmM\n n9kdXYS5WpmWb6Aw==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132051; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=3fGgeSd80c33NwRYB9cIgHC0He0K/FFTmCTAUXEfqvw=;\n b=OZaWff78ETSyrl2Y5rA10mhdqe0wmxDzQncYyEg8LbiRtfNQAEHEElfegLZopi2K7CVH04\n O0epCIOCCIeCGWugpLun8on18wRP1KZ7nsXBt3DrGihNypXW+aM5EbaZsu8uwmWfSByJPu\n t+0HtadLc8HS6sbOYeVE6CHhNiuilkM=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132051;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=3fGgeSd80c33NwRYB9cIgHC0He0K/FFTmCTAUXEfqvw=;\n b=3nXguEjqua6s1mnOKmM3OzxlQbMpGVgLsx31gebl6ZU89OkPJMoANR7cFTHABCsifhkQAh\n ShGgwZKoQAAfjsBA=="],"From":"Cyril Hrubis <chrubis@suse.cz>","To":"ltp@lists.linux.it","Date":"Thu,  2 Apr 2026 14:13:47 +0200","Message-ID":"<20260402121356.31266-9-chrubis@suse.cz>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<20260402121356.31266-1-chrubis@suse.cz>","References":"<20260402121356.31266-1-chrubis@suse.cz>","MIME-Version":"1.0","X-Spamd-Result":"default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; MIME_TRACE(0.00)[0:+];\n TO_MATCH_ENVRCPT_ALL(0.00)[];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[];\n DKIM_TRACE(0.00)[suse.cz:+]; RCVD_COUNT_TWO(0.00)[2];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n TO_DN_NONE(0.00)[];\n RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n PREVIOUSLY_DELIVERED(0.00)[ltp@lists.linux.it];\n RCVD_VIA_SMTP_AUTH(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,\n imap1.dmz-prg2.suse.org:rdns, suse.cz:mid, suse.cz:dkim, suse.cz:email]","X-Rspamd-Action":"no action","X-Spam-Score":"-3.01","X-Spam-Level":"","X-Rspamd-Server":"rspamd1.dmz-prg2.suse.org","X-Rspamd-Queue-Id":"3ABBE5BD8E","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-4.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"[LTP] [PATCH 08/17] tests: ioctl: Switch from needs_drivers to\n needs_kconfigs","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"},"content":"Signed-off-by: Cyril Hrubis <chrubis@suse.cz>\n---\n testcases/kernel/syscalls/ioctl/ioctl09.c      | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop01.c | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop02.c | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop03.c | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop04.c | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop05.c | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop06.c | 4 ++--\n testcases/kernel/syscalls/ioctl/ioctl_loop07.c | 4 ++--\n 8 files changed, 16 insertions(+), 16 deletions(-)","diff":"diff --git a/testcases/kernel/syscalls/ioctl/ioctl09.c b/testcases/kernel/syscalls/ioctl/ioctl09.c\nindex 561c1b6b5..bffcc2e0e 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl09.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl09.c\n@@ -104,8 +104,8 @@ static struct tst_test test = {\n \t.cleanup = cleanup,\n \t.test_all = verify_ioctl,\n \t.needs_root = 1,\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t},\n \t.needs_cmds = (struct tst_cmd[]) {\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop01.c b/testcases/kernel/syscalls/ioctl/ioctl_loop01.c\nindex f7e56dea8..0322b2633 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop01.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop01.c\n@@ -136,8 +136,8 @@ static struct tst_test test = {\n \t.cleanup = cleanup,\n \t.test_all = verify_ioctl_loop,\n \t.needs_root = 1,\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t},\n \t.tags = (const struct tst_tag[]) {\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop02.c b/testcases/kernel/syscalls/ioctl/ioctl_loop02.c\nindex a5398ba0a..27f8e6cf9 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop02.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop02.c\n@@ -158,8 +158,8 @@ static struct tst_test test = {\n \t.test = verify_ioctl_loop,\n \t.needs_root = 1,\n \t.needs_tmpdir = 1,\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t}\n };\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop03.c b/testcases/kernel/syscalls/ioctl/ioctl_loop03.c\nindex 56a717476..47f69e800 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop03.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop03.c\n@@ -71,8 +71,8 @@ static struct tst_test test = {\n \t.test_all = verify_ioctl_loop,\n \t.needs_root = 1,\n \t.needs_tmpdir = 1,\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t}\n };\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop04.c b/testcases/kernel/syscalls/ioctl/ioctl_loop04.c\nindex 38134fb70..e5c11aa5b 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop04.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop04.c\n@@ -96,8 +96,8 @@ static struct tst_test test = {\n \t.test_all = verify_ioctl_loop,\n \t.needs_root = 1,\n \t.needs_tmpdir = 1,\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t}\n };\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop05.c b/testcases/kernel/syscalls/ioctl/ioctl_loop05.c\nindex 88db7d168..11952af0a 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop05.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop05.c\n@@ -154,8 +154,8 @@ static struct tst_test test = {\n \t\t\"overlayfs\",\n \t\tNULL\n \t},\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t}\n };\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop06.c b/testcases/kernel/syscalls/ioctl/ioctl_loop06.c\nindex 94f9bcdc6..f523df1c6 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop06.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop06.c\n@@ -147,8 +147,8 @@ static struct tst_test test = {\n \t.tcnt = ARRAY_SIZE(tcases),\n \t.needs_root = 1,\n \t.needs_tmpdir = 1,\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t}\n };\ndiff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop07.c b/testcases/kernel/syscalls/ioctl/ioctl_loop07.c\nindex 0a210038b..6a58577c7 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_loop07.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop07.c\n@@ -162,8 +162,8 @@ static struct tst_test test = {\n \t\t{\"linux-git\", \"79e5dc59e297\"},\n \t\t{}\n \t},\n-\t.needs_drivers = (const char *const []) {\n-\t\t\"loop\",\n+\t.needs_kconfigs = (const char *const []) {\n+\t\t\"CONFIG_BLK_DEV_LOOP\",\n \t\tNULL\n \t}\n };\n","prefixes":["08/17"]}