[LTP] [PATCH] device-drivers/zram: zram_lib: Fix modinfo's usage

Cyril Hrubis chrubis@suse.cz
Thu Sep 17 15:51:54 CEST 2020


Hi!
> zram_lib uses the exit code of modinfo to determine the presence of zram module,
> but the exit code does not have direct relation to it.

What distribution is this? Where did the modinfo binary came from?

It works fine with modinfo from the kmod packages, see:

https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/tools/modinfo.c#n463

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list