commit | 89443220e3943624eba8e2e960c13c124e2082b8 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Mon Mar 09 22:00:26 2020 -0700 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Mon Mar 23 12:37:26 2020 -0700 |
tree | 7a042aaae109bc1b3211496a932d15b0a4899847 | |
parent | 53b30aeba2dedae9f5558f560231d9462e063dfc [diff] |
libkmod: simplify lookup when builtin.modinfo.bin file is missing When we try to lookup a module and builtin.modinfo.bin is missing, we would do the right thing because the caller was replacing the return code with 0 (and the list was not modified). Make it simpler by allowing the caller to check and differentiate the errors between module not found and index not found.
This is a mirror only. Please see README file for more information.