[LTP] [PATCH v3 1/2] lib: Fix kernel module detection on BusyBox

Petr Vorel pvorel@suse.cz
Wed Jan 20 13:16:03 CET 2021


Hi,

...
> +int tst_search_driver(const char *driver, const char *file)
As Joerg pointed out, this must be static.

...
> +int tst_check_driver_(const char *driver)
And this one as well.
> +{
> +	if (!tst_search_driver(driver, "modules.dep") ||
> +		!tst_search_driver(driver, "modules.builtin"))
> +		return 0;
> +
> +	return 1;
> +}
...

Kind regards,
Petr


More information about the ltp mailing list