* [LTP] [PATCH 1/1] lib/tst_kernel.c: Reuse tst_check_builtin_driver()
@ 2023-11-03 16:01 Petr Vorel
2023-11-03 18:38 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2023-11-03 16:01 UTC (permalink / raw)
To: ltp
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH 1/1] lib/tst_kernel.c: Reuse tst_check_builtin_driver()
2023-11-03 16:01 [LTP] [PATCH 1/1] lib/tst_kernel.c: Reuse tst_check_builtin_driver() Petr Vorel
@ 2023-11-03 18:38 ` Petr Vorel
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2023-11-03 18:38 UTC (permalink / raw)
To: ltp
...
> if (!tst_search_driver(driver, "modules.dep") ||
> - !tst_search_driver(driver, "modules.builtin"))
> + !tst_check_builtin_driver(driver));
I'm sorry, this ';' is obviously invalid. v2 sent.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-03 18:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 16:01 [LTP] [PATCH 1/1] lib/tst_kernel.c: Reuse tst_check_builtin_driver() Petr Vorel
2023-11-03 18:38 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox