commit | 3bd7187ff549a2ef2441dcddabf382cc53cf6f22 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Mon Mar 09 22:00:27 2020 -0700 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Mon Mar 23 12:37:40 2020 -0700 |
tree | 8bd52c83782ec55450e2f5d682a0bdfed25f63ea | |
parent | 89443220e3943624eba8e2e960c13c124e2082b8 [diff] |
libkmod: fix return error when opening index When calling kmod_load_resources() we could end up getting a bogus return value -ENOMEM due to several other reasons, like the index not existing. Change index_mm_open() to propagate the failure reason so we can take actions on it or return to the caller.
This is a mirror only. Please see README file for more information.