[LTP] [PATCH v2 1/1] lib/tst_kernel.c: Reuse tst_check_builtin_driver()
Petr Vorel
pvorel@suse.cz
Fri Nov 3 19:37:44 CET 2023
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
changes v1->v2:
* Remove invalid ';'
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..51e4daa09 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