[LTP] [PATCH 1/1] lib/tst_kernel.c: Reuse tst_check_builtin_driver()
Petr Vorel
pvorel@suse.cz
Fri Nov 3 17:01:57 CET 2023
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
lib/tst_kernel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tst_kernel.c b/lib/tst_kernel.c
index 4b75ceadb..2e534f451 100644
--- a/lib/tst_kernel.c
+++ b/lib/tst_kernel.c
@@ -193,7 +193,7 @@ int tst_check_builtin_driver(const char *driver)
int tst_check_driver(const char *driver)
{
if (!tst_search_driver(driver, "modules.dep") ||
- !tst_search_driver(driver, "modules.builtin"))
+ !tst_check_builtin_driver(driver));
return 0;
return -1;
--
2.42.0
More information about the ltp
mailing list