]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Extract finit_module vs init_module paths
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 1 Jun 2023 22:39:58 +0000 (15:39 -0700)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 9 Jun 2023 17:45:55 +0000 (10:45 -0700)
commite1f0e169de5413139c378c188028ae147d0b73ae
treef087ee138cf835c9e571c2a9722c70b57609ddf2
parent7a86f1292051e990507ea48888864ff19626a206
libkmod: Extract finit_module vs init_module paths

Extract 2 functions to handle finit_module vs init_modules differences,
with a fallback from the former to the latter.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-module.c