On Thu, Jun 01, 2023 at 03:39:58PM -0700, Lucas De Marchi wrote: > Extract 2 functions to handle finit_module vs init_modules differences, > with a fallback from the former to the latter. > > Signed-off-by: Lucas De Marchi <lucas.de.marchi@xxxxxxxxx> Other than not checking for the error for kmod_file_load_contents() looks good to me. Reviewed-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> Luis