]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: move kmod_file_load_contents as applicable
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 12 Feb 2024 17:23:08 +0000 (17:23 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 30 Apr 2024 17:33:52 +0000 (12:33 -0500)
commit8cc475f7da3bb6e8e211ebcba141d38527980eb8
treecc2db6137a0b1304bd31eef4a57b4e1ffb7930dd
parent81e5c797d0620ce719dee84a89878b8eca762340
libkmod: move kmod_file_load_contents as applicable

When dealing with an elf, we don't know or care about loading the file.
The kmod_elf subsystem/API will deal with the required parts itself.

Which in this case, already calls kmod_file_load_contents() as
applicable.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-module.c